Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libkern don't ifdef _KERNEL
details: https://anonhg.NetBSD.org/src/rev/2dd461126cf0
branches: trunk
changeset: 358037:2dd461126cf0
user: christos <christos%NetBSD.org@localhost>
date: Fri Dec 08 23:57:57 2017 +0000
description:
don't ifdef _KERNEL
diffstat:
sys/lib/libkern/hexdump.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 156e86daefe9 -r 2dd461126cf0 sys/lib/libkern/hexdump.c
--- a/sys/lib/libkern/hexdump.c Fri Dec 08 23:49:01 2017 +0000
+++ b/sys/lib/libkern/hexdump.c Fri Dec 08 23:57:57 2017 +0000
@@ -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 @@
}
}
-#ifndef _KERNEL
+#ifdef DEBUG_HEXDUMP
int
main(int argc, char *argv[])
{
Home |
Main Index |
Thread Index |
Old Index