summaryrefslogtreecommitdiff
path: root/src/sym.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sym.c')
-rw-r--r--src/sym.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sym.c b/src/sym.c
index 8d6b278..8b08c9f 100644
--- a/src/sym.c
+++ b/src/sym.c
@@ -141,8 +141,7 @@ int ccllookup (unsigned char ccltxt[])
static struct hash_entry *findsym (const char *sym, hash_table table, int table_size)
{
static struct hash_entry empty_entry = {
- (struct hash_entry *) 0, (struct hash_entry *) 0,
- (char *) 0, (char *) 0, 0,
+ NULL, NULL, NULL, NULL, 0,
};
struct hash_entry *sym_entry =
@@ -229,7 +228,7 @@ void scinstal (const char *str, int xcluflg)
scname[lastsc] = xstrdup(str);
- if (addsym (scname[lastsc], (char *) 0, lastsc,
+ if (addsym(scname[lastsc], NULL, lastsc,
sctbl, START_COND_HASH_SIZE))
format_pinpoint_message (_
("start condition %s declared twice"),