Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet whitespace. protect from multiple inclusion. s...



details:   https://anonhg.NetBSD.org/src/rev/740de1333bc9
branches:  trunk
changeset: 519596:740de1333bc9
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri Dec 21 04:11:24 2001 +0000

description:
whitespace.  protect from multiple inclusion.  sync with kame

diffstat:

 sys/netinet/ip_ecn.h |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r 7ed0e63b5b10 -r 740de1333bc9 sys/netinet/ip_ecn.h
--- a/sys/netinet/ip_ecn.h      Fri Dec 21 04:07:25 2001 +0000
+++ b/sys/netinet/ip_ecn.h      Fri Dec 21 04:11:24 2001 +0000
@@ -1,9 +1,10 @@
+/*     $NetBSD: ip_ecn.h,v 1.9 2001/12/21 04:11:24 itojun Exp $        */
 /*     $KAME: ip_ecn.h,v 1.6 2001/05/03 14:51:48 itojun Exp $  */
 
 /*
  * Copyright (C) 1999 WIDE Project.
  * All rights reserved.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
@@ -15,7 +16,7 @@
  * 3. Neither the name of the project nor the names of its contributors
  *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -28,13 +29,15 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * KAME Id: ip_ecn.h,v 1.2 1999/08/19 12:57:44 itojun Exp
  */
 /*
  * ECN consideration on tunnel ingress/egress operation.
  * http://www.aciri.org/floyd/papers/draft-ipsec-ecn-00.txt
  */
 
+#ifndef _NETINET_IP_ECN_H_
+#define _NETINET_IP_ECN_H_
+
 #if (defined(__FreeBSD__) && __FreeBSD__ >= 3) || defined(__NetBSD__)
 #if defined(_KERNEL) && !defined(_LKM)
 #include "opt_inet.h"
@@ -53,3 +56,4 @@
 extern void ip6_ecn_egress __P((int, const u_int32_t *, u_int32_t *));
 #endif
 #endif
+#endif



Home | Main Index | Thread Index | Old Index