Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/shark/shark Don't use NULL when 0 is needed.



details:   https://anonhg.NetBSD.org/src/rev/58a819878d00
branches:  trunk
changeset: 553876:58a819878d00
user:      agc <agc%NetBSD.org@localhost>
date:      Wed Oct 22 09:43:07 2003 +0000

description:
Don't use NULL when 0 is needed.

diffstat:

 sys/arch/shark/shark/i8042.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0f35724f190a -r 58a819878d00 sys/arch/shark/shark/i8042.c
--- a/sys/arch/shark/shark/i8042.c      Wed Oct 22 09:04:39 2003 +0000
+++ b/sys/arch/shark/shark/i8042.c      Wed Oct 22 09:43:07 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i8042.c,v 1.3 2003/07/15 03:36:03 lukem Exp $  */
+/*     $NetBSD: i8042.c,v 1.4 2003/10/22 09:43:07 agc Exp $    */
 
 /*
  * Copyright 1997
@@ -59,7 +59,7 @@
 */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i8042.c,v 1.3 2003/07/15 03:36:03 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i8042.c,v 1.4 2003/10/22 09:43:07 agc Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -272,7 +272,7 @@
           u_char             value)
 {
     u_int              retries;
-    register u_char    c = NULL;
+    register u_char    c = 0;
     int                status;  
     
     /* Assume failure



Home | Main Index | Thread Index | Old Index