summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/pfkey.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2008-01-02 23:26:11 +0000
committerobrien <obrien@FreeBSD.org>2008-01-02 23:26:11 +0000
commit74070565806ee33326b76dcdd5e1e0a86cd4e6ed (patch)
treec9e471757da087ea1d56d2bb2d36eec3defb7135 /usr.bin/netstat/pfkey.c
parent34e034ebc6ca1e6cb030e381b5f003c30215034e (diff)
downloadFreeBSD-src-74070565806ee33326b76dcdd5e1e0a86cd4e6ed.zip
FreeBSD-src-74070565806ee33326b76dcdd5e1e0a86cd4e6ed.tar.gz
style(9)
+ kread is not a boolean, so check it as such + fix $FreeBSD$ Ids + denote copyrights with /*- + misc whitespace changes.
Diffstat (limited to 'usr.bin/netstat/pfkey.c')
-rw-r--r--usr.bin/netstat/pfkey.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/usr.bin/netstat/pfkey.c b/usr.bin/netstat/pfkey.c
index 47fccb7..2ab58e9 100644
--- a/usr.bin/netstat/pfkey.c
+++ b/usr.bin/netstat/pfkey.c
@@ -1,11 +1,9 @@
-/* $FreeBSD$ */
/* $NetBSD: inet.c,v 1.35.2.1 1999/04/29 14:57:08 perry Exp $ */
/* $KAME: ipsec.c,v 1.25 2001/03/12 09:04:39 itojun Exp $ */
-
-/*
+/*-
* Copyright (C) 1995, 1996, 1997, 1998, and 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:
@@ -17,7 +15,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
@@ -30,8 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-
-/*
+/*-
* Copyright (c) 1983, 1988, 1993
* The Regents of the University of California. All rights reserved.
*
@@ -64,14 +61,14 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
+#if 0
#ifndef lint
-/*
static char sccsid[] = "@(#)inet.c 8.5 (Berkeley) 5/24/95";
-*/
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#endif
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/queue.h>
OpenPOWER on IntegriCloud