]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Get rid of no-longer-used nfsuint64.
authorGuy Harris <[email protected]>
Sat, 23 Jun 2018 07:57:39 +0000 (00:57 -0700)
committerGuy Harris <[email protected]>
Sat, 23 Jun 2018 07:57:39 +0000 (00:57 -0700)
nd_uint64_t suffices - it doesn't require 8-byte alignment (XDR doesn't
provide 8-byte alignment for 64-bit quantities).

nfs.h

diff --git a/nfs.h b/nfs.h
index 269a0384fc0b661fc7ccdce99929bc20b4d69ea6..76747f18c52081f4338ea41f3538847126b11fb7 100644 (file)
--- a/nfs.h
+++ b/nfs.h
@@ -283,15 +283,6 @@ struct nfsv3_time {
 };
 typedef struct nfsv3_time      nfstime3;
 
-/*
- * Quads are defined as arrays of 2 longs to ensure dense packing for the
- * protocol and to facilitate xdr conversion.
- */
-struct nfs_uquad {
-       nd_uint32_t nfsuquad[2];
-};
-typedef        struct nfs_uquad        nfsuint64;
-
 /*
  * NFS Version 3 special file number.
  */