Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/hpc Don't use NULL when an integer is needed.



details:   https://anonhg.NetBSD.org/src/rev/c6458060c3e6
branches:  trunk
changeset: 553872:c6458060c3e6
user:      agc <agc%NetBSD.org@localhost>
date:      Wed Oct 22 08:58:38 2003 +0000

description:
Don't use NULL when an integer is needed.

diffstat:

 sys/dev/hpc/bicons.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 9ae30f28fe48 -r c6458060c3e6 sys/dev/hpc/bicons.c
--- a/sys/dev/hpc/bicons.c      Wed Oct 22 07:59:44 2003 +0000
+++ b/sys/dev/hpc/bicons.c      Wed Oct 22 08:58:38 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bicons.c,v 1.6 2002/09/06 13:18:43 gehenna Exp $       */
+/*     $NetBSD: bicons.c,v 1.7 2003/10/22 08:58:38 agc Exp $   */
 
 /*-
  * Copyright (c) 1999-2001
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bicons.c,v 1.6 2002/09/06 13:18:43 gehenna Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bicons.c,v 1.7 2003/10/22 08:58:38 agc Exp $");
 
 #define HALF_FONT
 
@@ -258,7 +258,7 @@
 bicons_puts(char *s)
 {
        while (*s)
-               biconscnputc(NULL, *s++);
+               biconscnputc(0, *s++);
 }
 
 
@@ -266,7 +266,7 @@
 bicons_putn(const char *s, int n)
 {
        while (0 < n--)
-               biconscnputc(NULL, *s++);
+               biconscnputc(0, *s++);
 }
 
 void



Home | Main Index | Thread Index | Old Index