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 /parsenfsfh.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 'parsenfsfh.c')
-rw-r--r-- | parsenfsfh.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/parsenfsfh.c b/parsenfsfh.c index e9fce107..eb1313ff 100644 --- a/parsenfsfh.c +++ b/parsenfsfh.c @@ -42,7 +42,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/parsenfsfh.c,v 1.22 2001-06-24 21:41:29 itojun Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/parsenfsfh.c,v 1.23 2001-09-17 21:57:53 fenner Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -116,8 +116,8 @@ register caddr_t *fh; int len; my_fsid *fsidp; ino_t *inop; -char **osnamep; /* if non-NULL, return OS name here */ -char **fsnamep; /* if non-NULL, return server fs name here (for VMS) */ +const char **osnamep; /* if non-NULL, return OS name here */ +const char **fsnamep; /* if non-NULL, return server fs name here (for VMS) */ int ourself; /* true if file handle was generated on this host */ { register unsigned char *fhp = (unsigned char *)fh; |