Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/route6d no [longer?] need to define _KERNEL when in...
details: https://anonhg.NetBSD.org/src/rev/b5ef122f5551
branches: trunk
changeset: 754197:b5ef122f5551
user: plunky <plunky%NetBSD.org@localhost>
date: Fri Apr 23 15:30:30 2010 +0000
description:
no [longer?] need to define _KERNEL when including <net/route.h>
diffstat:
usr.sbin/route6d/route6d.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (30 lines):
diff -r a4c18dc73672 -r b5ef122f5551 usr.sbin/route6d/route6d.c
--- a/usr.sbin/route6d/route6d.c Fri Apr 23 15:20:35 2010 +0000
+++ b/usr.sbin/route6d/route6d.c Fri Apr 23 15:30:30 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: route6d.c,v 1.62 2009/04/19 08:16:59 lukem Exp $ */
+/* $NetBSD: route6d.c,v 1.63 2010/04/23 15:30:30 plunky Exp $ */
/* $KAME: route6d.c,v 1.94 2002/10/26 20:08:55 itojun Exp $ */
/*
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: route6d.c,v 1.62 2009/04/19 08:16:59 lukem Exp $");
+__RCSID("$NetBSD: route6d.c,v 1.63 2010/04/23 15:30:30 plunky Exp $");
#endif
#include <stdbool.h>
@@ -62,11 +62,7 @@
#if defined(__FreeBSD__) && __FreeBSD__ >= 3
#include <net/if_var.h>
#endif /* __FreeBSD__ >= 3 */
-#define KERNEL 1
-#define _KERNEL 1
#include <net/route.h>
-#undef KERNEL
-#undef _KERNEL
#include <netinet/in.h>
#include <netinet/in_var.h>
#include <netinet/ip6.h>
Home |
Main Index |
Thread Index |
Old Index