just include fcntl.h not sys/fcntl.h
[oweals/busybox.git] / util-linux / nfsmount.h
index 4f39ff2a869ec5c47f82e8a1d82179813cca9955..78a1bdfc56f0f21364290d737f2b63f37d8768a7 100644 (file)
@@ -1,7 +1,8 @@
 /* vi: set sw=4 ts=4: */
 /*
- * Please do not edit this file.
- * It was generated using rpcgen.
+ * This file was originally generated using rpcgen.
+ * But now we edit it by hand as needed to make it
+ * shut up...
  */
 
 #ifndef _NFSMOUNT_H_RPCGEN
@@ -60,7 +61,7 @@ extern "C" {
 typedef char fhandle[FHSIZE];
 
 typedef struct {
-       u_int fhandle3_len;
+       unsigned int fhandle3_len;
        char *fhandle3_val;
 } fhandle3;
 
@@ -79,7 +80,7 @@ enum mountstat3 {
 typedef enum mountstat3 mountstat3;
 
 struct fhstatus {
-       u_int fhs_status;
+       unsigned int fhs_status;
        union {
                fhandle fhs_fhandle;
        } fhstatus_u;
@@ -89,7 +90,7 @@ typedef struct fhstatus fhstatus;
 struct mountres3_ok {
        fhandle3 fhandle;
        struct {
-               u_int auth_flavours_len;
+               unsigned int auth_flavours_len;
                int *auth_flavours_val;
        } auth_flavours;
 };
@@ -218,7 +219,7 @@ extern int mountprog_3_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
 
 /* the xdr functions */
 
-extern  bool_t xdr_fhandle (XDR *, fhandle);
+static  bool_t xdr_fhandle (XDR *, fhandle);
 extern  bool_t xdr_fhandle3 (XDR *, fhandle3*);
 extern  bool_t xdr_mountstat3 (XDR *, mountstat3*);
 extern  bool_t xdr_fhstatus (XDR *, fhstatus*);