X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/248634a5e14fd790adc6a5bdc43dc9d9f2f9d9a8..refs/pull/377/head:/nfsfh.h diff --git a/nfsfh.h b/nfsfh.h index d5b6c24d..cfd073bd 100644 --- a/nfsfh.h +++ b/nfsfh.h @@ -44,8 +44,8 @@ * that we might be spying upon use different external representations. */ typedef struct { - u_int32_t Minor; /* upper case to avoid clashing with macro names */ - u_int32_t Major; + uint32_t Minor; /* upper case to avoid clashing with macro names */ + uint32_t Major; } my_devt; #define dev_eq(a,b) ((a.Minor == b.Minor) && (a.Major == b.Major)) @@ -57,10 +57,10 @@ typedef struct { typedef struct { my_devt Fsid_dev; /* XXX avoid name conflict with AIX */ char Opaque_Handle[2 * 32 + 1]; - u_int32_t fsid_code; + uint32_t fsid_code; } my_fsid; #define fsid_eq(a,b) ((a.fsid_code == b.fsid_code) &&\ dev_eq(a.Fsid_dev, b.Fsid_dev)) -extern void Parse_fh(caddr_t *, int, my_fsid *, ino_t *, char **, char **, int); +extern void Parse_fh(const unsigned char *, int, my_fsid *, uint32_t *, const char **, const char **, int);