diff options
author | Philippe Charnier <charnier@FreeBSD.org> | 2004-07-26 20:18:11 +0000 |
---|---|---|
committer | Philippe Charnier <charnier@FreeBSD.org> | 2004-07-26 20:18:11 +0000 |
commit | 6cc6f12231c7267d34a409cfbd960c7f3d69f8eb (patch) | |
tree | 4c45a009fc2c7e4c27551e4a0c106d7a27aef7f7 /usr.bin/netstat/mbuf.c | |
parent | 17373fb9a5dcc60bdfa2ad367b9dee0ed65fb5f9 (diff) | |
download | src-6cc6f12231c7267d34a409cfbd960c7f3d69f8eb.tar.gz src-6cc6f12231c7267d34a409cfbd960c7f3d69f8eb.zip |
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.
Notes
Notes:
svn path=/head/; revision=132671
Diffstat (limited to 'usr.bin/netstat/mbuf.c')
-rw-r--r-- | usr.bin/netstat/mbuf.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/netstat/mbuf.c b/usr.bin/netstat/mbuf.c index 98546c4a36f2..feb4871d8f42 100644 --- a/usr.bin/netstat/mbuf.c +++ b/usr.bin/netstat/mbuf.c @@ -31,13 +31,14 @@ * SUCH DAMAGE. */ -#ifndef lint #if 0 +#ifndef lint static char sccsid[] = "@(#)mbuf.c 8.1 (Berkeley) 6/6/93"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/mbuf.h> |