diff options
Diffstat (limited to 'stdio-common/temptest.c')
-rw-r--r-- | stdio-common/temptest.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/stdio-common/temptest.c b/stdio-common/temptest.c index 09786b25e7..71868174db 100644 --- a/stdio-common/temptest.c +++ b/stdio-common/temptest.c @@ -1,11 +1,10 @@ -#include <ansidecl.h> #include <stdio.h> #include <string.h> char *files[500]; int -main () +main (int argc, char *argv[]) { char buf[FILENAME_MAX]; char *fn; @@ -13,7 +12,7 @@ main () int i; for (i = 0; i < 500; i++) { - fn = __stdio_gen_tempname(buf, sizeof (buf), (CONST char *) NULL, + fn = __stdio_gen_tempname(buf, sizeof (buf), (const char *) NULL, "file", 0, (size_t *) NULL, (FILE **) NULL); if (fn == NULL) { printf ("__stdio_gen_tempname failed\n"); |