summaryrefslogtreecommitdiff
path: root/libc/stdlib/mktemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/mktemp.c')
-rw-r--r--libc/stdlib/mktemp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdlib/mktemp.c b/libc/stdlib/mktemp.c
index 08b356710..bbe589efc 100644
--- a/libc/stdlib/mktemp.c
+++ b/libc/stdlib/mktemp.c
@@ -1,4 +1,4 @@
-
+#include <string.h>
#include <features.h>
#include <unistd.h>
#include <fcntl.h>
@@ -8,7 +8,7 @@ char * mktemp(template)
char * template;
{
int i;
- int num; /* UNINITIALIZED */
+ int num __attribute__ ((unused)); /* UNINITIALIZED */
int n2;
int l = strlen(template);
struct stat stbuf;