Browse Source

(time): Do not declare if defined.
(first_mangle, mangled_num): Now static.

Paul Eggert 26 years ago
parent
commit
984190dcc6
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/mangle.c

+ 4 - 2
src/mangle.c

@@ -18,7 +18,9 @@
 #include "system.h"
 
 #include <time.h>
+#ifndef time
 time_t time ();
+#endif
 
 #include "common.h"
 
@@ -32,8 +34,8 @@ struct mangled
   };
 
 /* 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 |