aboutsummaryrefslogtreecommitdiff
path: root/ld/ldsym.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-10-01 03:51:53 +0000
committerSteve Chamberlain <steve@cygnus>1991-10-01 03:51:53 +0000
commit7fe11a82b43a278ca46950f2e7d1176eff53132a (patch)
tree6b6c42a67031443300773cbbacd20b7f70f1fbee /ld/ldsym.c
parent21214e8e88362806ad5b9b52840f711b1e3e3a94 (diff)
downloadgdb-7fe11a82b43a278ca46950f2e7d1176eff53132a.zip
gdb-7fe11a82b43a278ca46950f2e7d1176eff53132a.tar.gz
gdb-7fe11a82b43a278ca46950f2e7d1176eff53132a.tar.bz2
Various lints and uses the new arch functions
Diffstat (limited to 'ld/ldsym.c')
-rw-r--r--ld/ldsym.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ld/ldsym.c b/ld/ldsym.c
index 98a1b8b..0f5b375 100644
--- a/ld/ldsym.c
+++ b/ld/ldsym.c
@@ -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);
}