From d710cae75a79d05168b545a8064f32d7363328fe Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 3 Feb 2009 07:51:41 +0000 Subject: Use NULL in preference to 0 for pointers. --- sys/kern/subr_clist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/subr_clist.c') diff --git a/sys/kern/subr_clist.c b/sys/kern/subr_clist.c index 65a03b82a18c..f159ed41041a 100644 --- a/sys/kern/subr_clist.c +++ b/sys/kern/subr_clist.c @@ -43,7 +43,7 @@ SYSINIT(clist, SI_SUB_CLIST, SI_ORDER_FIRST, clist_init, NULL); static MALLOC_DEFINE(M_CLIST, "clist", "clist queue blocks"); -static struct cblock *cfreelist = 0; +static struct cblock *cfreelist = NULL; int cfreecount = 0; static int cslushcount; static int ctotcount; @@ -478,7 +478,7 @@ b_to_q(char *src, int amount, struct clist *clistp) int unputc(struct clist *clistp) { - struct cblock *cblockp = 0, *cbp = 0; + struct cblock *cblockp = NULL, *cbp = NULL; int s; int chr = -1; -- cgit v1.2.3