Various lints and uses the new arch functions
authorSteve Chamberlain <steve@cygnus>
Tue, 1 Oct 1991 03:51:53 +0000 (03:51 +0000)
committerSteve Chamberlain <steve@cygnus>
Tue, 1 Oct 1991 03:51:53 +0000 (03:51 +0000)
ld/ldsym.c
ld/ldwarn.c
ld/ldwarn.h

index 98a1b8b5f73d1d002965071929c82194fdaa7552..0f5b375cc40daefcd6268b4d26375abe6352ea28 100644 (file)
@@ -181,14 +181,12 @@ DEFUN(ldsym_get_soft,(key),
       CONST char *key)
 {
   register int hashval;
-  register ldsym_type *bp;
-
   /* Determine which bucket.  */
 
   hashval = hash_string (key) % TABSIZE;
 
   /* Search the bucket.  */
-return search(key, hashval);
+  return search(key, hashval);
 }
 
 
index c22f36b78ac1489e3257b737f19d87b0b2e7b79c..c955d7bd094181c450dd934ba3a0a979560b8680 100644 (file)
@@ -1,7 +1,8 @@
 #include "sysdep.h"
 #include "bfd.h"
 #include "ldsym.h"
-
+#include "ldwarn.h"
+#include "ldmisc.h"
 
 /* we keep all the warning symbols in a list, if we ever get a
    warning, we'll search it the hard way. This won't be to bad since
index f51ef6c6aebd7bd39343d345755b3ffceb4c8ca3..a055d0b3466caf823ac7555ccac500b99635044a 100644 (file)
@@ -22,3 +22,4 @@
 
 void EXFUN(add_warning,(asymbol *));
 CONST char * EXFUN(fetch_warning,(asymbol *));
+void EXFUN(produce_warnings,(ldsym_type *, asymbol *));