diff options
author | ed <ed@FreeBSD.org> | 2011-11-06 08:13:58 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-11-06 08:13:58 +0000 |
commit | 4704a8332d4436ea47f955aa31b46f27dfd24a93 (patch) | |
tree | bb2b6b9d446ab4071f6e3436a87b288467d714fb /usr.bin | |
parent | c25f8d73b927e92879d22a79e218179e50831412 (diff) | |
download | FreeBSD-src-4704a8332d4436ea47f955aa31b46f27dfd24a93.zip FreeBSD-src-4704a8332d4436ea47f955aa31b46f27dfd24a93.tar.gz |
Add missing static keywords to c99(1)
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/c99/c99.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/c99/c99.c b/usr.bin/c99/c99.c index 553099f..f5f273f 100644 --- a/usr.bin/c99/c99.c +++ b/usr.bin/c99/c99.c @@ -43,12 +43,12 @@ __FBSDID("$FreeBSD$"); #include <string.h> #include <unistd.h> -char **args; -u_int cargs, nargs; +static char **args; +static u_int cargs, nargs; -void addarg(const char *); -void addlib(const char *); -void usage(void); +static void addarg(const char *); +static void addlib(const char *); +static void usage(void); int main(int argc, char *argv[]) @@ -91,7 +91,7 @@ main(int argc, char *argv[]) err(1, "/usr/bin/cc"); } -void +static void addarg(const char *item) { if (nargs + 1 >= cargs) { @@ -104,7 +104,7 @@ addarg(const char *item) args[nargs] = NULL; } -void +static void addlib(const char *lib) { @@ -123,7 +123,7 @@ addlib(const char *lib) } } -void +static void usage(void) { (void)fprintf(stderr, "%s\n%s\n", |