Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet remove unneeded #ifdef __NetBSD__



details:   https://anonhg.NetBSD.org/src/rev/1ca39d00299e
branches:  trunk
changeset: 550730:1ca39d00299e
user:      itojun <itojun%NetBSD.org@localhost>
date:      Tue Aug 19 08:00:54 2003 +0000

description:
remove unneeded #ifdef __NetBSD__

diffstat:

 sys/netinet/ip_output.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 7303db85ff09 -r 1ca39d00299e sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c   Tue Aug 19 01:20:03 2003 +0000
+++ b/sys/netinet/ip_output.c   Tue Aug 19 08:00:54 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_output.c,v 1.113 2003/08/19 01:20:03 itojun Exp $   */
+/*     $NetBSD: ip_output.c,v 1.114 2003/08/19 08:00:54 itojun Exp $   */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -98,7 +98,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.113 2003/08/19 01:20:03 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.114 2003/08/19 08:00:54 itojun Exp $");
 
 #include "opt_pfil_hooks.h"
 #include "opt_ipsec.h"
@@ -1111,10 +1111,8 @@
        int optval = 0;
        int error = 0;
 #if defined(IPSEC) || defined(FAST_IPSEC)
-#ifdef __NetBSD__
        struct proc *p = curproc;       /*XXX*/
 #endif
-#endif
 
        if (level != IPPROTO_IP) {
                error = EINVAL;



Home | Main Index | Thread Index | Old Index