X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/2faf41eb289416cd498dd6ae2ccf0de35bf4b0e9..3ece7fe0f6601c846a38d4098e438ef720ddd108:/print-nfs.c diff --git a/print-nfs.c b/print-nfs.c index 0173de3c..b02438be 100644 --- a/print-nfs.c +++ b/print-nfs.c @@ -21,25 +21,17 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-nfs.c,v 1.92 2002-05-31 09:47:23 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-nfs.c,v 1.95 2002-08-01 08:53:21 risso Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include -#include -#include - -struct mbuf; -struct rtentry; - -#include +#include #include -#include #include #include #include @@ -171,7 +163,7 @@ static struct tok type2str[] = { * * Assume that a system that has INT64_FORMAT defined, has a 64-bit * integer datatype and can print it. - */ + */ #define UNSIGNED 0 #define SIGNED 1 @@ -786,7 +778,7 @@ nfs_printfh(register const u_int32_t *dp, const u_int len) } if(fsid.Fsid_dev.Minor == 257 && uflag) - /* Print the undecoded handle */ + /* Print the undecoded handle */ (void)printf("%s", fsid.Opaque_Handle); else (void)printf("%ld", (long) ino); @@ -887,7 +879,7 @@ xid_map_find(const struct rpc_msg *rp, const u_char *bp, u_int32_t *proc, int cmp; /* Start searching from where we last left off */ - i = xid_map_hint; + i = xid_map_hint; do { xmep = &xid_map[i]; cmp = 1;