From bf85b728be88b83944b93799c1867f657e2cbe34 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sun, 6 Nov 2005 12:44:12 +0000 Subject: [PATCH] Cleanup: - In function definitions, move the type on a line of its own. --- sbin/mountctl/mountctl.c | 11 ++++------- sbin/natd/natd.c | 6 +++--- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/sbin/mountctl/mountctl.c b/sbin/mountctl/mountctl.c index 32d94290f1..e682e52f38 100644 --- a/sbin/mountctl/mountctl.c +++ b/sbin/mountctl/mountctl.c @@ -31,7 +31,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $DragonFly: src/sbin/mountctl/mountctl.c,v 1.7 2005/10/05 15:38:41 dillon Exp $ + * $DragonFly: src/sbin/mountctl/mountctl.c,v 1.8 2005/11/06 12:42:26 swildner Exp $ */ /* * This utility implements the userland mountctl command which is used to @@ -564,8 +564,7 @@ mountctl_modify(const char *keyword, const char *mountpt, int fd, void __unused } -static volatile -void +static volatile void usage(void) { printf( @@ -579,8 +578,7 @@ usage(void) exit(1); } -static -int64_t +static int64_t getsize(const char *str) { const char *suffix; @@ -612,8 +610,7 @@ getsize(const char *str) return(val); } -static -const char * +static const char * numtostr(int64_t num) { static char buf[64]; diff --git a/sbin/natd/natd.c b/sbin/natd/natd.c index e86f9f7c29..1b990fd45f 100644 --- a/sbin/natd/natd.c +++ b/sbin/natd/natd.c @@ -10,7 +10,7 @@ * Ari Suutari * * $FreeBSD: src/sbin/natd/natd.c,v 1.25.2.5 2002/02/01 09:18:32 ru Exp $ - * $DragonFly: src/sbin/natd/natd.c,v 1.9 2005/06/07 20:21:23 swildner Exp $ + * $DragonFly: src/sbin/natd/natd.c,v 1.10 2005/11/06 12:44:12 swildner Exp $ */ #define SYSLOG_NAMES @@ -777,8 +777,8 @@ Warn(const char *msg) warn("%s", msg); } -static -void RefreshAddr(int sig __unused) +static void +RefreshAddr(int sig __unused) { if (ifName) assignAliasAddr = 1; -- 2.32.0