From 4aaf89f49f729d196c6f056e625efcdb5bde737d Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 9 Mar 2001 22:17:59 +0000 Subject: [PATCH] Silence a silly warning --- nfsmount.h | 7 ++++--- util-linux/nfsmount.h | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) 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*); -- 2.25.1