summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rpc.statd/file.c25
1 files changed, 2 insertions, 23 deletions
diff --git a/usr.sbin/rpc.statd/file.c b/usr.sbin/rpc.statd/file.c
index b8fc5cc..42d49c3 100644
--- a/usr.sbin/rpc.statd/file.c
+++ b/usr.sbin/rpc.statd/file.c
@@ -29,6 +29,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
+ * $FreeBSD$
+ *
*/
#include <err.h>
@@ -207,29 +209,6 @@ void init_file(char *filename)
}
}
-/* xdr_stat_chge ----------------------------------------------------------- */
-/*
- Purpose: XDR-encode structure of type stat_chge
- Returns: TRUE if successful
- Notes: This function is missing from librpcsvc, because the
- sm_inter.x distributed by Sun omits the SM_NOTIFY
- procedure used between co-operating statd's
-*/
-
-bool_t xdr_stat_chge(XDR *xdrs, stat_chge *objp)
-{
- if (!xdr_string(xdrs, &objp->mon_name, SM_MAXSTRLEN))
- {
- return (FALSE);
- }
- if (!xdr_int(xdrs, &objp->state))
- {
- return (FALSE);
- }
- return (TRUE);
-}
-
-
/* notify_one_host --------------------------------------------------------- */
/*
Purpose: Perform SM_NOTIFY procedure at specified host
OpenPOWER on IntegriCloud