Use NULL in preference to 0 for pointers.

This commit is contained in:
Warner Losh 2009-02-03 07:51:11 +00:00
parent 8260e3a4c0
commit 4592c621f3
2 changed files with 2 additions and 2 deletions

View File

@ -525,7 +525,7 @@ firmware_modevent(module_t mod, int type, void *unused)
static moduledata_t firmware_mod = {
"firmware",
firmware_modevent,
0
NULL
};
DECLARE_MODULE(firmware, firmware_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST);
MODULE_VERSION(firmware, 1);

View File

@ -959,7 +959,7 @@ sysctl_kern_msgbuf(SYSCTL_HANDLER_ARGS)
}
SYSCTL_PROC(_kern, OID_AUTO, msgbuf, CTLTYPE_STRING | CTLFLAG_RD,
0, 0, sysctl_kern_msgbuf, "A", "Contents of kernel message buffer");
NULL, 0, sysctl_kern_msgbuf, "A", "Contents of kernel message buffer");
static int msgbuf_clearflag;