repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
types: remove the [u_]quad type and replace with [u]int64
[deb_libnfs.git]
/
nfs
/
libnfs-raw-nfs.h
diff --git
a/nfs/libnfs-raw-nfs.h
b/nfs/libnfs-raw-nfs.h
index 835029e7ff4c88f1d8770586514d2339a37c437f..a3b60f566d52bdd8e26b6a1dede106fd8a0d6c77 100644
(file)
--- a/
nfs/libnfs-raw-nfs.h
+++ b/
nfs/libnfs-raw-nfs.h
@@
-48,18
+48,11
@@
extern "C" {
#define NFS3_CREATEVERFSIZE 8
#define NFS3_COOKIEVERFSIZE 8
#define NFS3_CREATEVERFSIZE 8
#define NFS3_COOKIEVERFSIZE 8
-#if defined(ANDROID)
-typedef long long int quad_t;
-typedef long long unsigned u_quad_t;
-#endif
-#if defined(WIN32)
-typedef long long int quad_t;
-typedef long long unsigned u_quad_t;
-#endif
+
typedef char cookieverf3[NFS3_COOKIEVERFSIZE];
typedef char cookieverf3[NFS3_COOKIEVERFSIZE];
-typedef u
_quad
_t cookie3;
+typedef u
int64
_t cookie3;
struct nfs_fh3 {
struct {
struct nfs_fh3 {
struct {
@@
-94,9
+87,9
@@
typedef u_int uid3;
typedef u_int gid3;
typedef u_int gid3;
-typedef u
_quad
_t size3;
+typedef u
int64
_t size3;
-typedef u
_quad
_t fileid3;
+typedef u
int64
_t fileid3;
struct specdata3 {
u_int specdata1;
struct specdata3 {
u_int specdata1;
@@
-119,7
+112,7
@@
struct fattr3 {
size3 size;
size3 used;
specdata3 rdev;
size3 size;
size3 used;
specdata3 rdev;
- u
_quad
_t fsid;
+ u
int64
_t fsid;
fileid3 fileid;
nfstime3 atime;
nfstime3 mtime;
fileid3 fileid;
nfstime3 atime;
nfstime3 mtime;
@@
-175,7
+168,7
@@
enum stable_how {
};
typedef enum stable_how stable_how;
};
typedef enum stable_how stable_how;
-typedef u
_quad
_t offset3;
+typedef u
int64
_t offset3;
typedef u_int count3;
typedef u_int count3;