]> Dogcows Code - chaz/tar/commitdiff
(time): Do not declare if defined.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 23 Aug 1999 09:55:55 +0000 (09:55 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 23 Aug 1999 09:55:55 +0000 (09:55 +0000)
(first_mangle, mangled_num): Now static.

src/mangle.c

index 985847f73274dc0f2c7ea1977c47abafbf1feabc..f6d57ba6329d7faf00ed0d2bd70b89c09ea73ef4 100644 (file)
@@ -18,7 +18,9 @@
 #include "system.h"
 
 #include <time.h>
 #include "system.h"
 
 #include <time.h>
+#ifndef time
 time_t time ();
 time_t time ();
+#endif
 
 #include "common.h"
 
 
 #include "common.h"
 
@@ -32,8 +34,8 @@ struct mangled
   };
 
 /* Should use a hash table, etc. .  */
   };
 
 /* Should use a hash table, etc. .  */
-struct mangled *first_mangle;
-int mangled_num = 0;
+static struct mangled *first_mangle;
+static int mangled_num;
 
 /*---------------------------------------------------------------------.
 | Extract a GNUTYPE_NAMES record contents.  It seems that such are not |
 
 /*---------------------------------------------------------------------.
 | Extract a GNUTYPE_NAMES record contents.  It seems that such are not |
This page took 0.023292 seconds and 4 git commands to generate.