diff options
author | fenner <fenner> | 2001-09-17 21:57:50 +0000 |
---|---|---|
committer | fenner <fenner> | 2001-09-17 21:57:50 +0000 |
commit | c672f002763b3a4fc30ca229e57f50d3b2e6d766 (patch) | |
tree | ee681c42232037a77b9f4413202971bfd41bf0d9 /print-bxxp.c | |
parent | d5c621ba52626b1cc9778850bf7997cc227d230d (diff) | |
download | tcpdump-c672f002763b3a4fc30ca229e57f50d3b2e6d766.tar.gz |
Eliminate some unused parameters.
Use const more.
Use EXTRACT_* macros more.
Use TCHECK* more.
Use tok2str() to replace some home-grown workalikes.
smb:
- Get rid of private types, use tcpdump-defined types
- Rename fdata and fdata1 to smb_fdata and smb_fdata1 to avoid conflict
with IRIX library function.
Diffstat (limited to 'print-bxxp.c')
-rw-r--r-- | print-bxxp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/print-bxxp.c b/print-bxxp.c index 091ef900..4067f3d3 100644 --- a/print-bxxp.c +++ b/print-bxxp.c @@ -11,7 +11,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/Attic/print-bxxp.c,v 1.4 2001-06-15 07:45:42 itojun Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/Attic/print-bxxp.c,v 1.5 2001-09-17 21:57:56 fenner Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -38,10 +38,10 @@ static const char rcsid[] = * Looks at the first few chars up to tl1 ... */ -static int l_strnstart(const u_char *, u_int, const u_char *, u_int); +static int l_strnstart(const char *, u_int, const char *, u_int); static int -l_strnstart(const u_char *tstr1, u_int tl1, const u_char *str2, u_int l2) +l_strnstart(const char *tstr1, u_int tl1, const char *str2, u_int l2) { if (tl1 > l2) |