]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - libiberty/tmpnam.c
xtensa: gas: put .literal_position at section start
[thirdparty/binutils-gdb.git] / libiberty / tmpnam.c
index 406878c49a3eadcac4772f55a4c7bb4bffcbef53..cc343336642f61009e03f8d9592b0d9ae635a9e0 100644 (file)
@@ -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 ();