diff options
| author | 2004-09-28 18:12:43 +0000 | |
|---|---|---|
| committer | 2004-09-28 18:12:43 +0000 | |
| commit | 4e503363ea24eb948007e522d9ad8e1f643f3b3e (patch) | |
| tree | 5da40ac25045720192f4bedcf0c8cbadb6352dfd /lib/libc/stdio/tmpnam.c | |
| parent | Fix unsigned {int, long, long long} to long double conversions for (diff) | |
| download | wireguard-openbsd-4e503363ea24eb948007e522d9ad8e1f643f3b3e.tar.xz wireguard-openbsd-4e503363ea24eb948007e522d9ad8e1f643f3b3e.zip | |
deregister + ansify, no change in object code. ok deraadt@ millert@
Diffstat (limited to 'lib/libc/stdio/tmpnam.c')
| -rw-r--r-- | lib/libc/stdio/tmpnam.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/stdio/tmpnam.c b/lib/libc/stdio/tmpnam.c index 7029eed3777..a2f17dfe5ae 100644 --- a/lib/libc/stdio/tmpnam.c +++ b/lib/libc/stdio/tmpnam.c @@ -31,7 +31,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: tmpnam.c,v 1.8 2003/06/02 20:18:37 millert Exp $"; +static char rcsid[] = "$OpenBSD: tmpnam.c,v 1.9 2004/09/28 18:12:44 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -45,8 +45,7 @@ __warn_references(tmpnam, extern char *_mktemp(char *); char * -tmpnam(s) - char *s; +tmpnam(char *s) { static u_long tmpcount; static char buf[L_tmpnam]; |
