From: Eric Andersen Date: Fri, 9 Mar 2001 22:17:59 +0000 (-0000) Subject: Silence a silly warning X-Git-Tag: 0_50~74 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4aaf89f49f729d196c6f056e625efcdb5bde737d;p=oweals%2Fbusybox.git Silence a silly warning --- 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*);