diff options
author | Michael McConville <mmcconville@mykolab.com> | 2015-12-05 18:00:12 -0500 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2015-12-05 18:50:53 -0500 |
commit | e0877888da128c7a1fcb24f5a7b5959c54631e18 (patch) | |
tree | 01840925f9868764a6e15c6bb3a4b281127f42d9 /src/sym.c | |
parent | 3a1d84cfc0988a3dbdba7a440571e987cb68973a (diff) |
Use NULL rather than (type *) 0.
Diffstat (limited to 'src/sym.c')
-rw-r--r-- | src/sym.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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"), |