Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/sockstat don't do _KERNEL; hides bswap stuff.



details:   https://anonhg.NetBSD.org/src/rev/12617ee014da
branches:  trunk
changeset: 820730:12617ee014da
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 14 01:01:48 2017 +0000

description:
don't do _KERNEL; hides bswap stuff.

diffstat:

 usr.bin/sockstat/sockstat.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 017f00075c86 -r 12617ee014da usr.bin/sockstat/sockstat.c
--- a/usr.bin/sockstat/sockstat.c       Sat Jan 14 00:50:56 2017 +0000
+++ b/usr.bin/sockstat/sockstat.c       Sat Jan 14 01:01:48 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sockstat.c,v 1.18 2017/01/12 18:52:15 christos Exp $ */
+/*     $NetBSD: sockstat.c,v 1.19 2017/01/14 01:01:48 christos Exp $ */
 
 /*
  * Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -31,12 +31,12 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: sockstat.c,v 1.18 2017/01/12 18:52:15 christos Exp $");
+__RCSID("$NetBSD: sockstat.c,v 1.19 2017/01/14 01:01:48 christos Exp $");
 #endif
 
-#define _KERNEL
+#define _KMEMUSER
 #include <sys/types.h>
-#undef _KERNEL
+#undef _KMEMUSER
 #include <sys/param.h>
 #include <sys/sysctl.h>
 #include <sys/socket.h>



Home | Main Index | Thread Index | Old Index