diff options
author | Ed Schouten <ed@FreeBSD.org> | 2011-11-06 18:49:41 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2011-11-06 18:49:41 +0000 |
commit | 86350df6fe60a2101506cc8f63da182d8a80c6e7 (patch) | |
tree | a78362df58b4541db9830fc981e9e5278acf700b /usr.bin/lam | |
parent | 357050fc0e29e65756571f9a7258ced49e853511 (diff) | |
download | src-86350df6fe60a2101506cc8f63da182d8a80c6e7.tar.gz src-86350df6fe60a2101506cc8f63da182d8a80c6e7.zip |
Notes
Diffstat (limited to 'usr.bin/lam')
-rw-r--r-- | usr.bin/lam/lam.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/lam/lam.c b/usr.bin/lam/lam.c index 9c36a49c91b2..60d1c52e2805 100644 --- a/usr.bin/lam/lam.c +++ b/usr.bin/lam/lam.c @@ -55,7 +55,7 @@ __FBSDID("$FreeBSD$"); #define MAXOFILES 20 #define BIGBUFSIZ 5 * BUFSIZ -struct openfile { /* open file structure */ +static struct openfile { /* open file structure */ FILE *fp; /* file pointer */ short eof; /* eof flag */ short pad; /* pad flag for missing columns */ @@ -64,10 +64,10 @@ struct openfile { /* open file structure */ const char *format; /* printf(3) style string spec. */ } input[MAXOFILES]; -int morefiles; /* set by getargs(), changed by gatherline() */ -int nofinalnl; /* normally append \n to each output line */ -char line[BIGBUFSIZ]; -char *linep; +static int morefiles; /* set by getargs(), changed by gatherline() */ +static int nofinalnl; /* normally append \n to each output line */ +static char line[BIGBUFSIZ]; +static char *linep; static char *gatherline(struct openfile *); static void getargs(char *[]); |