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/netpfil | |
parent | 543514a78ba423fb4c2351e080e8822ed44312d1 (diff) | |
download | FreeBSD-src-8747a46991f804159ec832961138fbafc8489e41.zip FreeBSD-src-8747a46991f804159ec832961138fbafc8489e41.tar.gz |
Prefer NULL over 0 for pointers
Diffstat (limited to 'sys/netpfil')
-rw-r--r-- | sys/netpfil/ipfw/ip_fw2.c | 2 | ||||
-rw-r--r-- | sys/netpfil/ipfw/ip_fw_nat.c | 2 | ||||
-rw-r--r-- | sys/netpfil/pf/if_pflog.c | 2 | ||||
-rw-r--r-- | sys/netpfil/pf/if_pfsync.c | 2 | ||||
-rw-r--r-- | sys/netpfil/pf/pf_ioctl.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/sys/netpfil/ipfw/ip_fw2.c b/sys/netpfil/ipfw/ip_fw2.c index e43a0ef..8ac2fa8 100644 --- a/sys/netpfil/ipfw/ip_fw2.c +++ b/sys/netpfil/ipfw/ip_fw2.c @@ -2756,7 +2756,7 @@ ipfw_modevent(module_t mod, int type, void *unused) static moduledata_t ipfwmod = { "ipfw", ipfw_modevent, - 0 + NULL }; /* Define startup order. */ diff --git a/sys/netpfil/ipfw/ip_fw_nat.c b/sys/netpfil/ipfw/ip_fw_nat.c index 94861b3..b2800fc 100644 --- a/sys/netpfil/ipfw/ip_fw_nat.c +++ b/sys/netpfil/ipfw/ip_fw_nat.c @@ -651,7 +651,7 @@ ipfw_nat_modevent(module_t mod, int type, void *unused) static moduledata_t ipfw_nat_mod = { "ipfw_nat", ipfw_nat_modevent, - 0 + NULL }; DECLARE_MODULE(ipfw_nat, ipfw_nat_mod, SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY); diff --git a/sys/netpfil/pf/if_pflog.c b/sys/netpfil/pf/if_pflog.c index 20feea2..9bd9ca8 100644 --- a/sys/netpfil/pf/if_pflog.c +++ b/sys/netpfil/pf/if_pflog.c @@ -281,7 +281,7 @@ pflog_modevent(module_t mod, int type, void *data) return error; } -static moduledata_t pflog_mod = { "pflog", pflog_modevent, 0 }; +static moduledata_t pflog_mod = { "pflog", pflog_modevent, NULL }; #define PFLOG_MODVER 1 diff --git a/sys/netpfil/pf/if_pfsync.c b/sys/netpfil/pf/if_pfsync.c index 505d9a7..9267e28 100644 --- a/sys/netpfil/pf/if_pfsync.c +++ b/sys/netpfil/pf/if_pfsync.c @@ -2402,7 +2402,7 @@ pfsync_modevent(module_t mod, int type, void *data) static moduledata_t pfsync_mod = { "pfsync", pfsync_modevent, - 0 + NULL }; #define PFSYNC_MODVER 1 diff --git a/sys/netpfil/pf/pf_ioctl.c b/sys/netpfil/pf/pf_ioctl.c index a8b71d5..35b6d29 100644 --- a/sys/netpfil/pf/pf_ioctl.c +++ b/sys/netpfil/pf/pf_ioctl.c @@ -3722,7 +3722,7 @@ pf_modevent(module_t mod, int type, void *data) static moduledata_t pf_mod = { "pf", pf_modevent, - 0 + NULL }; DECLARE_MODULE(pf, pf_mod, SI_SUB_PSEUDO, SI_ORDER_FIRST); |