diff options
author | Steve Chamberlain <steve@cygnus> | 1991-10-01 03:51:53 +0000 |
---|---|---|
committer | Steve Chamberlain <steve@cygnus> | 1991-10-01 03:51:53 +0000 |
commit | 7fe11a82b43a278ca46950f2e7d1176eff53132a (patch) | |
tree | 6b6c42a67031443300773cbbacd20b7f70f1fbee /ld | |
parent | 21214e8e88362806ad5b9b52840f711b1e3e3a94 (diff) | |
download | gdb-7fe11a82b43a278ca46950f2e7d1176eff53132a.zip gdb-7fe11a82b43a278ca46950f2e7d1176eff53132a.tar.gz gdb-7fe11a82b43a278ca46950f2e7d1176eff53132a.tar.bz2 |
Various lints and uses the new arch functions
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ldsym.c | 4 | ||||
-rw-r--r-- | ld/ldwarn.c | 3 | ||||
-rw-r--r-- | ld/ldwarn.h | 1 |
3 files changed, 4 insertions, 4 deletions
@@ -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); } diff --git a/ld/ldwarn.c b/ld/ldwarn.c index c22f36b..c955d7b 100644 --- a/ld/ldwarn.c +++ b/ld/ldwarn.c @@ -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 diff --git a/ld/ldwarn.h b/ld/ldwarn.h index f51ef6c..a055d0b 100644 --- a/ld/ldwarn.h +++ b/ld/ldwarn.h @@ -22,3 +22,4 @@ void EXFUN(add_warning,(asymbol *)); CONST char * EXFUN(fetch_warning,(asymbol *)); +void EXFUN(produce_warnings,(ldsym_type *, asymbol *)); |