diff options
author | delphij <delphij@FreeBSD.org> | 2009-06-23 23:30:56 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-06-23 23:30:56 +0000 |
commit | eed25972d10fcfaa1d046f1f4ff2d2e047bcf360 (patch) | |
tree | e5d809d0e2c1266a86e3c8d6156f305a500f138b /bin | |
parent | c3020006f4bc11eda87a5fc1d2876880f5a5740a (diff) | |
download | FreeBSD-src-eed25972d10fcfaa1d046f1f4ff2d2e047bcf360.zip FreeBSD-src-eed25972d10fcfaa1d046f1f4ff2d2e047bcf360.tar.gz |
Staticify internal routines.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/chflags/chflags.c | 4 | ||||
-rw-r--r-- | bin/chmod/chmod.c | 4 | ||||
-rw-r--r-- | bin/df/df.c | 2 | ||||
-rw-r--r-- | bin/hostname/hostname.c | 4 |
4 files changed, 7 insertions, 7 deletions
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 <string.h> #include <unistd.h> -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 <string.h> #include <unistd.h> -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 <string.h> #include <unistd.h> -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) { |