diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-09-28 04:47:32 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-09-28 04:47:32 +0000 |
commit | 43029a8f84e0684ba2c1e6e1643245cd80404ef2 (patch) | |
tree | 98419426285e4dd74f8673764c4d7881375cef62 /gas/config/tc-tahoe.c | |
parent | 32940b9fe3088fefe40ca9009f622ef5bb22b4bf (diff) | |
download | gdb-43029a8f84e0684ba2c1e6e1643245cd80404ef2.zip gdb-43029a8f84e0684ba2c1e6e1643245cd80404ef2.tar.gz gdb-43029a8f84e0684ba2c1e6e1643245cd80404ef2.tar.bz2 |
Whitespace/comment cleanup. Use PARAMS in tc-vax.c.
Make various routines return null pointer instead of empty string for
success indication.
Diffstat (limited to 'gas/config/tc-tahoe.c')
-rw-r--r-- | gas/config/tc-tahoe.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gas/config/tc-tahoe.c b/gas/config/tc-tahoe.c index 5fc47d3..ed5fb61 100644 --- a/gas/config/tc-tahoe.c +++ b/gas/config/tc-tahoe.c @@ -346,16 +346,16 @@ const relax_typeS #undef WB /* End relax stuff */ -static struct hash_control *op_hash = NULL; /* handle of the OPCODE hash table - NULL means any use before md_begin() will - crash */ +/* Handle of the OPCODE hash table. NULL means any use before + md_begin() will crash. */ +static struct hash_control *op_hash; /* Init function. Build the hash table. */ void md_begin () { struct tot *tP; - char *errorval = ""; + char *errorval = 0; int synthetic_too = 1; /* If 0, just use real opcodes. */ if ((op_hash = hash_new ())) @@ -376,9 +376,9 @@ md_begin () { errorval = "Virtual memory exceeded"; } - if (*errorval) + if (errorval) as_fatal (errorval); -} /* md_begin */ +} void md_end () |