aboutsummaryrefslogtreecommitdiff
path: root/include/rpc/pmap_rmt.h
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1994-08-07 18:41:02 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1994-08-07 18:41:02 +0000
commit86b9a9cc2dfc51ec5a8131f2c8a645548320c9c1 (patch)
treede69a93c1a8200600a73fd75094947ae1f3c766f /include/rpc/pmap_rmt.h
parenteae561b30ec984ce171d99b1fd182575acc2c639 (diff)
downloadsrc-86b9a9cc2dfc51ec5a8131f2c8a645548320c9c1.tar.gz
src-86b9a9cc2dfc51ec5a8131f2c8a645548320c9c1.zip
Use the header files that are compatible with the code just moved over
from 1.1.5.
Notes
Notes: svn path=/head/; revision=1903
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 ee68cebec221..c8c06ecb584d 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 */