summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/tempnam.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /lib/libc/stdio/tempnam.c
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'lib/libc/stdio/tempnam.c')
-rw-r--r--lib/libc/stdio/tempnam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/tempnam.c b/lib/libc/stdio/tempnam.c
index 80af80f790b..3721eaf89cc 100644
--- a/lib/libc/stdio/tempnam.c
+++ b/lib/libc/stdio/tempnam.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: tempnam.c,v 1.10 2001/07/09 06:57:44 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: tempnam.c,v 1.11 2002/02/16 21:27:24 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -46,7 +46,7 @@ static char rcsid[] = "$OpenBSD: tempnam.c,v 1.10 2001/07/09 06:57:44 deraadt Ex
__warn_references(tempnam,
"warning: tempnam() possibly used unsafely; consider using mkstemp()");
-extern char *_mktemp __P((char *));
+extern char *_mktemp(char *);
char *
tempnam(dir, pfx)