diff --git a/nfsmount.h b/nfsmount.h index 4f39ff2a8..b3d5a51e6 100644 --- a/nfsmount.h +++ b/nfsmount.h @@ -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 @@ -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*); diff --git a/util-linux/nfsmount.h b/util-linux/nfsmount.h index 4f39ff2a8..b3d5a51e6 100644 --- a/util-linux/nfsmount.h +++ b/util-linux/nfsmount.h @@ -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 @@ -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*);