diff options
Diffstat (limited to 'libiberty/tmpnam.c')
-rw-r--r-- | libiberty/tmpnam.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libiberty/tmpnam.c b/libiberty/tmpnam.c index 406878c49a3..cc343336642 100644 --- a/libiberty/tmpnam.c +++ b/libiberty/tmpnam.c @@ -24,11 +24,10 @@ not be used in new projects. Use @code{mkstemp} instead. static char tmpnam_buffer[L_tmpnam]; static int tmpnam_counter; -extern int getpid (); +extern int getpid (void); char * -tmpnam (s) - char *s; +tmpnam (char *s) { int pid = getpid (); |