diff options
author | kevlo <kevlo@FreeBSD.org> | 2012-10-09 08:27:40 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2012-10-09 08:27:40 +0000 |
commit | 8747a46991f804159ec832961138fbafc8489e41 (patch) | |
tree | e7c16f01159a965270042d2eee89fe0f8bea4679 /sys/netinet6 | |
parent | 543514a78ba423fb4c2351e080e8822ed44312d1 (diff) | |
download | FreeBSD-src-8747a46991f804159ec832961138fbafc8489e41.zip FreeBSD-src-8747a46991f804159ec832961138fbafc8489e41.tar.gz |
Prefer NULL over 0 for pointers
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/ip6_mroute.c | 2 | ||||
-rw-r--r-- | sys/netinet6/mld6.c | 2 | ||||
-rw-r--r-- | sys/netinet6/send.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c index 8ecd60e..2555b92 100644 --- a/sys/netinet6/ip6_mroute.c +++ b/sys/netinet6/ip6_mroute.c @@ -2059,7 +2059,7 @@ ip6_mroute_modevent(module_t mod, int type, void *unused) static moduledata_t ip6_mroutemod = { "ip6_mroute", ip6_mroute_modevent, - 0 + NULL }; DECLARE_MODULE(ip6_mroute, ip6_mroutemod, SI_SUB_PSEUDO, SI_ORDER_ANY); diff --git a/sys/netinet6/mld6.c b/sys/netinet6/mld6.c index ba850b2..9d8bc8d 100644 --- a/sys/netinet6/mld6.c +++ b/sys/netinet6/mld6.c @@ -3309,6 +3309,6 @@ mld_modevent(module_t mod, int type, void *unused __unused) static moduledata_t mld_mod = { "mld", mld_modevent, - 0 + NULL }; DECLARE_MODULE(mld, mld_mod, SI_SUB_PSEUDO, SI_ORDER_ANY); diff --git a/sys/netinet6/send.c b/sys/netinet6/send.c index 5624366..09fe586 100644 --- a/sys/netinet6/send.c +++ b/sys/netinet6/send.c @@ -361,7 +361,7 @@ send_modevent(module_t mod, int type, void *unused) static moduledata_t sendmod = { "send", send_modevent, - 0 + NULL }; DECLARE_MODULE(send, sendmod, SI_SUB_PROTO_DOMAIN, SI_ORDER_ANY); |