diff options
| author | Bill Fenner <fenner@FreeBSD.org> | 1997-05-27 02:11:31 +0000 |
|---|---|---|
| committer | Bill Fenner <fenner@FreeBSD.org> | 1997-05-27 02:11:31 +0000 |
| commit | 5775941a02df8ef8258a3a4fa2042108cf9919a3 (patch) | |
| tree | a21edc520842b5888c6e0b6f03245c54169c5413 /contrib/tcpdump/print-netbios.c | |
| parent | 22d085f9da483115af0c26a9c5065717e4a320e5 (diff) | |
| parent | 4de76e31371f636d15e4005d6bed5755adb4c393 (diff) | |
Notes
Diffstat (limited to 'contrib/tcpdump/print-netbios.c')
| -rw-r--r-- | contrib/tcpdump/print-netbios.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/contrib/tcpdump/print-netbios.c b/contrib/tcpdump/print-netbios.c index 73d86f469773..34cc65562c97 100644 --- a/contrib/tcpdump/print-netbios.c +++ b/contrib/tcpdump/print-netbios.c @@ -17,21 +17,15 @@ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. - */ - -/* + * * Format and print NETBIOS packets. * Contributed by Brad Parker (brad@fcr.com). */ -#ifndef lint -static char rcsid[] = - "@(#)$Header: print-netbios.c,v 1.8 96/07/23 14:17:25 leres Exp $"; -#endif -#ifdef __STDC__ -#include <stdlib.h> +#ifndef lint +static const char rcsid[] = + "@(#) $Header: print-netbios.c,v 1.10 96/12/10 23:25:12 leres Exp $"; #endif -#include <stdio.h> #include <sys/param.h> #include <sys/socket.h> @@ -45,6 +39,10 @@ static char rcsid[] = #include <netinet/tcp.h> #include <netinet/tcpip.h> +#ifdef __STDC__ +#include <stdlib.h> +#endif +#include <stdio.h> #include <string.h> #include "interface.h" |
