Various lints and uses the new arch functions
This commit is contained in:
parent
21214e8e88
commit
7fe11a82b4
3 changed files with 4 additions and 4 deletions
|
@ -181,14 +181,12 @@ DEFUN(ldsym_get_soft,(key),
|
||||||
CONST char *key)
|
CONST char *key)
|
||||||
{
|
{
|
||||||
register int hashval;
|
register int hashval;
|
||||||
register ldsym_type *bp;
|
|
||||||
|
|
||||||
/* Determine which bucket. */
|
/* Determine which bucket. */
|
||||||
|
|
||||||
hashval = hash_string (key) % TABSIZE;
|
hashval = hash_string (key) % TABSIZE;
|
||||||
|
|
||||||
/* Search the bucket. */
|
/* Search the bucket. */
|
||||||
return search(key, hashval);
|
return search(key, hashval);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#include "sysdep.h"
|
#include "sysdep.h"
|
||||||
#include "bfd.h"
|
#include "bfd.h"
|
||||||
#include "ldsym.h"
|
#include "ldsym.h"
|
||||||
|
#include "ldwarn.h"
|
||||||
|
#include "ldmisc.h"
|
||||||
|
|
||||||
/* we keep all the warning symbols in a list, if we ever get a
|
/* 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
|
warning, we'll search it the hard way. This won't be to bad since
|
||||||
|
|
|
@ -22,3 +22,4 @@
|
||||||
|
|
||||||
void EXFUN(add_warning,(asymbol *));
|
void EXFUN(add_warning,(asymbol *));
|
||||||
CONST char * EXFUN(fetch_warning,(asymbol *));
|
CONST char * EXFUN(fetch_warning,(asymbol *));
|
||||||
|
void EXFUN(produce_warnings,(ldsym_type *, asymbol *));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue