summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld/symbol.c
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2002-07-10 17:28:17 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2002-07-10 17:28:17 +0000
commitb440e6f31f70cf106237e6ba3e0aeb7044a684e6 (patch)
treebde0ed3c37a4afc5379aadda8f120efd72c4a3d2 /gnu/usr.bin/ld/symbol.c
parente1381c06b8d23a558a761f3359b203f264df0b9d (diff)
First of some clean-up commits. This one only removes use of
register variables. clean-up concept ok deraadt@
Diffstat (limited to 'gnu/usr.bin/ld/symbol.c')
-rw-r--r--gnu/usr.bin/ld/symbol.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gnu/usr.bin/ld/symbol.c b/gnu/usr.bin/ld/symbol.c
index 216d8fe6b3b..70c9ba83f06 100644
--- a/gnu/usr.bin/ld/symbol.c
+++ b/gnu/usr.bin/ld/symbol.c
@@ -1,4 +1,4 @@
-/* * $OpenBSD: symbol.c,v 1.4 1999/08/24 19:05:16 niklas Exp $ - symbol table routines*/
+/* * $OpenBSD: symbol.c,v 1.5 2002/07/10 17:28:16 marc Exp $ - symbol table routines*/
/*
*/
@@ -77,8 +77,8 @@ int
hash_string (key)
char *key;
{
- register char *cp;
- register int k;
+ char *cp;
+ int k;
cp = key;
k = 0;
@@ -97,8 +97,8 @@ symbol *
getsym(key)
char *key;
{
- register int hashval;
- register symbol *bp;
+ int hashval;
+ symbol *bp;
if (strcmp(key, OTHER_SYM) == 0)
key = GOT_SYM;
@@ -150,8 +150,8 @@ symbol *
getsym_soft (key)
char *key;
{
- register int hashval;
- register symbol *bp;
+ int hashval;
+ symbol *bp;
if (strcmp(key, OTHER_SYM) == 0)
key = GOT_SYM;