X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=nfs%2Fnfs.x;h=ab874a002b0309c2fc23489252373d2f8453d4b9;hb=bce63d849cdc3870d3e99fe8a968924a836aa63e;hp=579eef636e8334b943502e136c9d0ae06accfaff;hpb=2f5c161b4456e5f77bf9beccd8dcb3739898b1cf;p=deb_libnfs.git diff --git a/nfs/nfs.x b/nfs/nfs.x index 579eef6..ab874a0 100644 --- a/nfs/nfs.x +++ b/nfs/nfs.x @@ -37,16 +37,7 @@ const NFS3_COOKIEVERFSIZE = 8; typedef opaque cookieverf3[NFS3_COOKIEVERFSIZE]; -/*unsigned hyper can be overridden by giving rpcgen -DU_INT64_PLATTFORM_TYPE=" - where rpcgen doesn't know anything about hyper - default to unsigned hyper as of rfc 1813 */ -#ifndef U_INT64_PLATTFORM_TYPE -#define U_INT64_PLATTFORM_TYPE unsigned hyper -#endif/*U_INT64_PLATTFORM_TYPE*/ - -typedef U_INT64_PLATTFORM_TYPE uint64; - -typedef uint64 cookie3; +typedef uint64_t cookie3; struct nfs_fh3 { opaque data; @@ -75,9 +66,9 @@ typedef unsigned int uid3; typedef unsigned int gid3; -typedef uint64 size3; +typedef uint64_t size3; -typedef uint64 fileid3; +typedef uint64_t fileid3; struct specdata3 { unsigned int specdata1; @@ -98,7 +89,7 @@ struct fattr3 { size3 size; size3 used; specdata3 rdev; - uint64 fsid; + uint64_t fsid; fileid3 fileid; nfstime3 atime; nfstime3 mtime; @@ -151,7 +142,7 @@ enum stable_how { FILE_SYNC = 2 }; -typedef uint64 offset3; +typedef uint64_t offset3; typedef unsigned int count3;