summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/mktemp.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-01-02 20:18:31 +0000
committerderaadt <deraadt@openbsd.org>2002-01-02 20:18:31 +0000
commite4490880928ebec64a98af4634f4dd52123841ac (patch)
treedf3a5dcb3409fc2c874681c929871e5fe5eb5198 /lib/libc/stdio/mktemp.c
parentmaster.passwd alias (diff)
downloadwireguard-openbsd-e4490880928ebec64a98af4634f4dd52123841ac.tar.xz
wireguard-openbsd-e4490880928ebec64a98af4634f4dd52123841ac.zip
more pid_t use
Diffstat (limited to 'lib/libc/stdio/mktemp.c')
-rw-r--r--lib/libc/stdio/mktemp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/stdio/mktemp.c b/lib/libc/stdio/mktemp.c
index a992e24f164..875c3ca2298 100644
--- a/lib/libc/stdio/mktemp.c
+++ b/lib/libc/stdio/mktemp.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: mktemp.c,v 1.13 1998/06/30 23:03:13 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: mktemp.c,v 1.14 2002/01/02 20:18:32 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -101,7 +101,8 @@ _gettemp(path, doopen, domkdir, slen)
{
register char *start, *trv, *suffp;
struct stat sbuf;
- int pid, rval;
+ int rval;
+ pid_t pid;
if (doopen && domkdir) {
errno = EINVAL;