From e0877888da128c7a1fcb24f5a7b5959c54631e18 Mon Sep 17 00:00:00 2001 From: Michael McConville Date: Sat, 5 Dec 2015 18:00:12 -0500 Subject: Use NULL rather than (type *) 0. --- src/sym.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/sym.c') 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"), -- cgit v1.2.3