summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/mroute.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2004-07-26 20:18:11 +0000
committercharnier <charnier@FreeBSD.org>2004-07-26 20:18:11 +0000
commitcd48a1d32b7e37d716e9ca0da9ba773994c976b3 (patch)
tree4c45a009fc2c7e4c27551e4a0c106d7a27aef7f7 /usr.bin/netstat/mroute.c
parent0a8bce8ca9483bbe6dfb9ac58016a4397d080ee3 (diff)
downloadFreeBSD-src-cd48a1d32b7e37d716e9ca0da9ba773994c976b3.zip
FreeBSD-src-cd48a1d32b7e37d716e9ca0da9ba773994c976b3.tar.gz
Add __FBSDID. Replace local variable sin by sockin to not conflict with sin(3).
Use warnx() instead of warn() when error message is not of any interest. Add prototypes.
Diffstat (limited to 'usr.bin/netstat/mroute.c')
-rw-r--r--usr.bin/netstat/mroute.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/netstat/mroute.c b/usr.bin/netstat/mroute.c
index 3449268..e81ca2b 100644
--- a/usr.bin/netstat/mroute.c
+++ b/usr.bin/netstat/mroute.c
@@ -37,10 +37,8 @@
* @(#)mroute.c 8.2 (Berkeley) 4/28/95
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* Print multicast routing structures and statistics.
OpenPOWER on IntegriCloud