diff options
author | 2003-06-10 22:20:44 +0000 | |
---|---|---|
committer | 2003-06-10 22:20:44 +0000 | |
commit | 1837a5ca509d93cac77d2e89322c0c4869f9215d (patch) | |
tree | 52dbe14a25e44bdf8161f4c51f39a50c072fe221 /usr.bin/mktemp/mktemp.c | |
parent | It would kind of help if the flags member was initialized, otherwise random (diff) | |
download | wireguard-openbsd-1837a5ca509d93cac77d2e89322c0c4869f9215d.tar.xz wireguard-openbsd-1837a5ca509d93cac77d2e89322c0c4869f9215d.zip |
mostly ansi cleanup; pval ok
Diffstat (limited to 'usr.bin/mktemp/mktemp.c')
-rw-r--r-- | usr.bin/mktemp/mktemp.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/mktemp/mktemp.c b/usr.bin/mktemp/mktemp.c index bc0919c6a57..9ac3ce79305 100644 --- a/usr.bin/mktemp/mktemp.c +++ b/usr.bin/mktemp/mktemp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mktemp.c,v 1.11 2003/06/03 01:52:41 millert Exp $ */ +/* $OpenBSD: mktemp.c,v 1.12 2003/06/10 22:20:48 deraadt Exp $ */ /* * Copyright (c) 1996, 1997, 2001 Todd C. Miller <Todd.Miller@courtesan.com> @@ -17,7 +17,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: mktemp.c,v 1.11 2003/06/03 01:52:41 millert Exp $"; +static const char rcsid[] = "$OpenBSD: mktemp.c,v 1.12 2003/06/10 22:20:48 deraadt Exp $"; #endif /* not lint */ #include <paths.h> @@ -30,9 +30,7 @@ static const char rcsid[] = "$OpenBSD: mktemp.c,v 1.11 2003/06/03 01:52:41 mille __dead void usage(void); int -main(argc, argv) - int argc; - char **argv; +main(int argc, char *argv[]) { int ch, fd, uflag = 0, quiet = 0, tflag = 0, makedir = 0; char *cp, *template, *tempfile, *prefix = _PATH_TMP; @@ -126,7 +124,7 @@ main(argc, argv) } __dead void -usage() +usage(void) { extern char *__progname; |