summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/mktemp.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-01-02 20:18:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-01-02 20:18:34 +0000
commite8b4b962a0edc31ed272e3ddbc58ceadbd5b2d45 (patch)
treecfbc29cdfa0d350b30e997f14f79ea79fa1e6a94 /lib/libc/stdio/mktemp.c
parentb54c0c644bb20582b30c1ddcf709457c189cd2b4 (diff)
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;