]> The Tcpdump Group git mirrors - tcpdump/blobdiff - nfsfh.h
Add '-Wunreachable-code-return' warning option in devel mode for cmake
[tcpdump] / nfsfh.h
diff --git a/nfsfh.h b/nfsfh.h
index 2703415a6ad13712091b50c742d47104e6dcef4c..5cf8fc4417a66e9cd0dab1f78dac5636cbb21bb2 100644 (file)
--- 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(const unsigned char *, int, my_fsid *, u_int32_t *, const char **, const char **, int);
+extern void Parse_fh(const unsigned char *, u_int, my_fsid *, uint32_t *, const char **, const char **, int);