Author: imp Date: Tue Feb 3 07:51:11 2009 New Revision: 188057 URL: http://svn.freebsd.org/changeset/base/188057
Log: Use NULL in preference to 0 for pointers. Modified: head/sys/kern/subr_firmware.c head/sys/kern/subr_prf.c Modified: head/sys/kern/subr_firmware.c ============================================================================== --- head/sys/kern/subr_firmware.c Tue Feb 3 07:50:41 2009 (r188056) +++ head/sys/kern/subr_firmware.c Tue Feb 3 07:51:11 2009 (r188057) @@ -525,7 +525,7 @@ firmware_modevent(module_t mod, int type 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); Modified: head/sys/kern/subr_prf.c ============================================================================== --- head/sys/kern/subr_prf.c Tue Feb 3 07:50:41 2009 (r188056) +++ head/sys/kern/subr_prf.c Tue Feb 3 07:51:11 2009 (r188057) @@ -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; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"