remove unnecessary int * casts of 0
commit0ace4b98a4b07c08f0e41208d148c8b58602e823
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Sat, 1 Jul 2017 19:14:53 +0000 (1 22:14 +0300)
committerJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Sat, 1 Jul 2017 19:14:53 +0000 (1 22:14 +0300)
treec03dcb68a91b1dc9817ace6e1b1d2add31e64a82
parentcfaaf4b3ed051ce198e32aa64354929b75d8a801
remove unnecessary int * casts of 0

Performed with the following semantic patch:

@@
expression E;
@@

- E == (int *)0
+ E == NULL

@@
expression E;
@@

- E != (int *)0
+ E != NULL

@@
@@

- return ((int *)0);
+ return (NULL);
usr/src/cmd/egrep/egrep.y
usr/src/cmd/mailx/lex.c
usr/src/lib/libc/port/regex/regcmp.c
usr/src/lib/libumem/common/linktest_stand.c