Add missing static keywords to c99(1)

This commit is contained in:
ed 2011-11-06 08:13:58 +00:00
parent c25f8d73b9
commit 4704a8332d

View File

@ -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",