Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat use _KMEMUSER for <sys/file.h>
details: https://anonhg.NetBSD.org/src/rev/97594c5a3506
branches: trunk
changeset: 350509:97594c5a3506
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 13 04:22:51 2017 +0000
description:
use _KMEMUSER for <sys/file.h>
diffstat:
usr.bin/netstat/unix.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r b2f5ee15716a -r 97594c5a3506 usr.bin/netstat/unix.c
--- a/usr.bin/netstat/unix.c Fri Jan 13 04:22:16 2017 +0000
+++ b/usr.bin/netstat/unix.c Fri Jan 13 04:22:51 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: unix.c,v 1.34 2012/03/20 20:34:58 matt Exp $ */
+/* $NetBSD: unix.c,v 1.35 2017/01/13 04:22:51 christos Exp $ */
/*-
* Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)unix.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: unix.c,v 1.34 2012/03/20 20:34:58 matt Exp $");
+__RCSID("$NetBSD: unix.c,v 1.35 2017/01/13 04:22:51 christos Exp $");
#endif
#endif /* not lint */
@@ -52,9 +52,9 @@
#include <sys/sysctl.h>
#include <sys/un.h>
#include <sys/unpcb.h>
-#define _KERNEL
+#define _KMEMUSER
#include <sys/file.h>
-#undef _KERNEL
+#undef _KMEMUSER
#include <netinet/in.h>
Home |
Main Index |
Thread Index |
Old Index