summaryrefslogtreecommitdiff
path: root/src/sym.c
diff options
context:
space:
mode:
authorMichael McConville <mmcconville@mykolab.com>2015-12-05 18:00:12 -0500
committerWill Estes <westes575@gmail.com>2015-12-05 18:50:53 -0500
commite0877888da128c7a1fcb24f5a7b5959c54631e18 (patch)
tree01840925f9868764a6e15c6bb3a4b281127f42d9 /src/sym.c
parent3a1d84cfc0988a3dbdba7a440571e987cb68973a (diff)
Use NULL rather than (type *) 0.
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"),