summaryrefslogtreecommitdiff
path: root/libc/stdlib/mkstemp.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-06 00:20:50 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-06 00:20:50 +0000
commita67c6273255c0357bf1e14ea35005b47c9a94e6c (patch)
tree34bce2531223bbc738b0c4e13fa25aeca2d1d79e /libc/stdlib/mkstemp.c
parent42ee079162ef0aacb93181dcc0df86c9d33f75c5 (diff)
Lots and lots of cleanups.
-Erik
Diffstat (limited to 'libc/stdlib/mkstemp.c')
-rw-r--r--libc/stdlib/mkstemp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdlib/mkstemp.c b/libc/stdlib/mkstemp.c
index d65ada4f7..de3c682b2 100644
--- a/libc/stdlib/mkstemp.c
+++ b/libc/stdlib/mkstemp.c
@@ -1,4 +1,4 @@
-
+#include <string.h>
#include <features.h>
#include <unistd.h>
#include <fcntl.h>
@@ -7,7 +7,7 @@ int mkstemp(template)
char * template;
{
int i;
- int num; /* UNINITIALIZED */
+ int num __attribute__ ((unused)); /* UNINITIALIZED */
int n2;
int l = strlen(template);