aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-01-30 22:56:20 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-01-30 22:56:20 +0000
commit0c1859827ec320dc049de3dd1f0b8e0d6b5ed14d (patch)
tree3b2f30a38dbcff3eb0fef5477fcb4b9ce2884e79
parentd61683c92226d7c6cb6cda66c4f20bb584329e52 (diff)
downloadbusybox-w32-0c1859827ec320dc049de3dd1f0b8e0d6b5ed14d.tar.gz
busybox-w32-0c1859827ec320dc049de3dd1f0b8e0d6b5ed14d.tar.bz2
busybox-w32-0c1859827ec320dc049de3dd1f0b8e0d6b5ed14d.zip
Fixup use of 'u_int' to instead use 'unsigned int'
git-svn-id: svn://busybox.net/trunk/busybox@8377 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--util-linux/nfsmount.c4
-rw-r--r--util-linux/nfsmount.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/util-linux/nfsmount.c b/util-linux/nfsmount.c
index 0edfdf34a..4241f79f5 100644
--- a/util-linux/nfsmount.c
+++ b/util-linux/nfsmount.c
@@ -976,7 +976,7 @@ xdr_fhandle3 (XDR *xdrs, fhandle3 *objp)
976{ 976{
977 //register int32_t *buf; 977 //register int32_t *buf;
978 978
979 if (!xdr_bytes (xdrs, (char **)&objp->fhandle3_val, (u_int *) &objp->fhandle3_len, FHSIZE3)) 979 if (!xdr_bytes (xdrs, (char **)&objp->fhandle3_val, (unsigned int *) &objp->fhandle3_len, FHSIZE3))
980 return FALSE; 980 return FALSE;
981 return TRUE; 981 return TRUE;
982} 982}
@@ -988,7 +988,7 @@ xdr_mountres3_ok (XDR *xdrs, mountres3_ok *objp)
988 988
989 if (!xdr_fhandle3 (xdrs, &objp->fhandle)) 989 if (!xdr_fhandle3 (xdrs, &objp->fhandle))
990 return FALSE; 990 return FALSE;
991 if (!xdr_array (xdrs, (char **)&objp->auth_flavours.auth_flavours_val, (u_int *) &objp->auth_flavours.auth_flavours_len, ~0, 991 if (!xdr_array (xdrs, (char **)&objp->auth_flavours.auth_flavours_val, (unsigned int *) &objp->auth_flavours.auth_flavours_len, ~0,
992 sizeof (int), (xdrproc_t) xdr_int)) 992 sizeof (int), (xdrproc_t) xdr_int))
993 return FALSE; 993 return FALSE;
994 return TRUE; 994 return TRUE;
diff --git a/util-linux/nfsmount.h b/util-linux/nfsmount.h
index b3d5a51e6..78a1bdfc5 100644
--- a/util-linux/nfsmount.h
+++ b/util-linux/nfsmount.h
@@ -61,7 +61,7 @@ extern "C" {
61typedef char fhandle[FHSIZE]; 61typedef char fhandle[FHSIZE];
62 62
63typedef struct { 63typedef struct {
64 u_int fhandle3_len; 64 unsigned int fhandle3_len;
65 char *fhandle3_val; 65 char *fhandle3_val;
66} fhandle3; 66} fhandle3;
67 67
@@ -80,7 +80,7 @@ enum mountstat3 {
80typedef enum mountstat3 mountstat3; 80typedef enum mountstat3 mountstat3;
81 81
82struct fhstatus { 82struct fhstatus {
83 u_int fhs_status; 83 unsigned int fhs_status;
84 union { 84 union {
85 fhandle fhs_fhandle; 85 fhandle fhs_fhandle;
86 } fhstatus_u; 86 } fhstatus_u;
@@ -90,7 +90,7 @@ typedef struct fhstatus fhstatus;
90struct mountres3_ok { 90struct mountres3_ok {
91 fhandle3 fhandle; 91 fhandle3 fhandle;
92 struct { 92 struct {
93 u_int auth_flavours_len; 93 unsigned int auth_flavours_len;
94 int *auth_flavours_val; 94 int *auth_flavours_val;
95 } auth_flavours; 95 } auth_flavours;
96}; 96};