diff options
author | markm <markm@FreeBSD.org> | 2002-02-22 21:11:03 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2002-02-22 21:11:03 +0000 |
commit | 2e9a506a0442bc49267d84f0a6fa1b0ad8ccd6cd (patch) | |
tree | e65b01fd1720f56839eb9669f22e5f916c60255e /bin/mkdir | |
parent | 02fae8d816882e45cd68528d586dbb54fdeb7f65 (diff) | |
download | FreeBSD-src-2e9a506a0442bc49267d84f0a6fa1b0ad8ccd6cd.zip FreeBSD-src-2e9a506a0442bc49267d84f0a6fa1b0ad8ccd6cd.tar.gz |
Fix warnings inspired by lint, a commercial lint and WARNS=4.
Diffstat (limited to 'bin/mkdir')
-rw-r--r-- | bin/mkdir/mkdir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/mkdir/mkdir.c b/bin/mkdir/mkdir.c index bc06ff9..17e7ccf 100644 --- a/bin/mkdir/mkdir.c +++ b/bin/mkdir/mkdir.c @@ -57,16 +57,16 @@ static const char rcsid[] = #include <sysexits.h> #include <unistd.h> -int build(char *, mode_t); -void usage(void); +static int build(char *, mode_t); +static void usage(void); int vflag; int main(int argc, char *argv[]) { - int ch, exitval, success, omode, pflag; - mode_t *set = (mode_t *)NULL; + int ch, exitval, success, pflag; + mode_t omode, *set = (mode_t *)NULL; char *mode; omode = pflag = 0; |