summaryrefslogtreecommitdiffstats
path: root/include/rpc/pmap_rmt.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-08-07 18:41:02 +0000
committerwollman <wollman@FreeBSD.org>1994-08-07 18:41:02 +0000
commit2914d85c79d650debf4fe19c5230232d57f15912 (patch)
treede69a93c1a8200600a73fd75094947ae1f3c766f /include/rpc/pmap_rmt.h
parent39d367d32ed8e86a00d841b572a4544dc7ca339e (diff)
downloadFreeBSD-src-2914d85c79d650debf4fe19c5230232d57f15912.zip
FreeBSD-src-2914d85c79d650debf4fe19c5230232d57f15912.tar.gz
Use the header files that are compatible with the code just moved over
from 1.1.5.
Diffstat (limited to 'include/rpc/pmap_rmt.h')
-rw-r--r--include/rpc/pmap_rmt.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/include/rpc/pmap_rmt.h b/include/rpc/pmap_rmt.h
index ee68ceb..c8c06ecb 100644
--- a/include/rpc/pmap_rmt.h
+++ b/include/rpc/pmap_rmt.h
@@ -1,4 +1,3 @@
-/* @(#)pmap_rmt.h 2.1 88/07/29 4.0 RPCSRC; from 1.2 88/02/08 SMI */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -26,6 +25,10 @@
* Sun Microsystems, Inc.
* 2550 Garcia Avenue
* Mountain View, California 94043
+ *
+ * from: @(#)pmap_rmt.h 1.2 88/02/08 SMI
+ * from: @(#)pmap_rmt.h 2.1 88/07/29 4.0 RPCSRC
+ * $Id: pmap_rmt.h,v 1.1 1993/10/27 05:40:41 paul Exp $
*/
/*
@@ -35,14 +38,16 @@
* Copyright (C) 1986, Sun Microsystems, Inc.
*/
+#ifndef _RPC_PMAPRMT_H
+#define _RPC_PMAPRMT_H
+#include <sys/cdefs.h>
+
struct rmtcallargs {
u_long prog, vers, proc, arglen;
caddr_t args_ptr;
xdrproc_t xdr_args;
};
-bool_t xdr_rmtcall_args();
-
struct rmtcallres {
u_long *port_ptr;
u_long resultslen;
@@ -50,4 +55,9 @@ struct rmtcallres {
xdrproc_t xdr_results;
};
-bool_t xdr_rmtcallres();
+__BEGIN_DECLS
+extern bool_t xdr_rmtcall_args __P((XDR *, struct rmtcallargs *));
+extern bool_t xdr_rmtcallres __P((XDR *, struct rmtcallres *));
+__END_DECLS
+
+#endif /* !_RPC_PMAPRMT_H */
OpenPOWER on IntegriCloud