From eed25972d10fcfaa1d046f1f4ff2d2e047bcf360 Mon Sep 17 00:00:00 2001 From: delphij Date: Tue, 23 Jun 2009 23:30:56 +0000 Subject: Staticify internal routines. --- bin/chflags/chflags.c | 4 ++-- bin/chmod/chmod.c | 4 ++-- bin/df/df.c | 2 +- bin/hostname/hostname.c | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'bin') diff --git a/bin/chflags/chflags.c b/bin/chflags/chflags.c index 02137eb..2c07db9 100644 --- a/bin/chflags/chflags.c +++ b/bin/chflags/chflags.c @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$"); #include #include -void usage(void); +static void usage(void); int main(int argc, char *argv[]) @@ -196,7 +196,7 @@ main(int argc, char *argv[]) exit(rval); } -void +static void usage(void) { (void)fprintf(stderr, diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c index e967388..67360324 100644 --- a/bin/chmod/chmod.c +++ b/bin/chmod/chmod.c @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$"); #include #include -void usage(void); +static void usage(void); int main(int argc, char *argv[]) @@ -212,7 +212,7 @@ done: argv += optind; exit(rval); } -void +static void usage(void) { (void)fprintf(stderr, diff --git a/bin/df/df.c b/bin/df/df.c index 49c2d9f..be811a1 100644 --- a/bin/df/df.c +++ b/bin/df/df.c @@ -476,7 +476,7 @@ prtstat(struct statfs *sfsp, struct maxwidths *mwp) (void)printf("\n"); } -void +static void addstat(struct statfs *totalfsp, struct statfs *statfsp) { uint64_t bsize; diff --git a/bin/hostname/hostname.c b/bin/hostname/hostname.c index 7aaca9c..87136eb 100644 --- a/bin/hostname/hostname.c +++ b/bin/hostname/hostname.c @@ -49,7 +49,7 @@ __FBSDID("$FreeBSD$"); #include #include -void usage(void); +static void usage(void); int main(int argc, char *argv[]) @@ -96,7 +96,7 @@ main(int argc, char *argv[]) exit(0); } -void +static void usage(void) { -- cgit v1.1