Sync libiberty from GCC, replaying updates to configure scripts
[deliverable/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 ();
 
This page took 0.026013 seconds and 4 git commands to generate.