Module Name:    src
Committed By:   christos
Date:           Fri Dec  8 23:57:57 UTC 2017

Modified Files:
        src/sys/lib/libkern: hexdump.c

Log Message:
don't ifdef _KERNEL


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/lib/libkern/hexdump.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/lib/libkern/hexdump.c
diff -u src/sys/lib/libkern/hexdump.c:1.2 src/sys/lib/libkern/hexdump.c:1.3
--- src/sys/lib/libkern/hexdump.c:1.2	Fri Dec  8 18:49:01 2017
+++ src/sys/lib/libkern/hexdump.c	Fri Dec  8 18:57:57 2017
@@ -27,9 +27,9 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hexdump.c,v 1.2 2017/12/08 23:49:01 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hexdump.c,v 1.3 2017/12/08 23:57:57 christos Exp $");
 
-#ifndef _KERNEL
+#ifdef DEBUG_HEXDUMP
 #include <stdio.h>
 #include <ctype.h>
 #include <string.h>
@@ -83,7 +83,7 @@ hexdump(const char *msg, const void *ptr
 	}
 }
 
-#ifndef _KERNEL
+#ifdef DEBUG_HEXDUMP
 int
 main(int argc, char *argv[])
 {

Reply via email to