diff options
Diffstat (limited to 'include/rpc/pmap_prot.h')
| -rw-r--r-- | include/rpc/pmap_prot.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/include/rpc/pmap_prot.h b/include/rpc/pmap_prot.h index ccf7a77b4153e..1c10c368d1878 100644 --- a/include/rpc/pmap_prot.h +++ b/include/rpc/pmap_prot.h @@ -1,4 +1,3 @@ -/* @(#)pmap_prot.h 2.1 88/07/29 4.0 RPCSRC; from 1.14 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_prot.h 1.14 88/02/08 SMI + * from: @(#)pmap_prot.h 2.1 88/07/29 4.0 RPCSRC + * $Id: pmap_prot.h,v 1.1 1993/10/27 05:40:38 paul Exp $ */ /* @@ -65,6 +68,10 @@ * The service supports remote procedure calls on udp/ip or tcp/ip socket 111. */ +#ifndef _RPC_PMAPPROT_H +#define _RPC_PMAPPROT_H +#include <sys/cdefs.h> + #define PMAPPORT ((u_short)111) #define PMAPPROG ((u_long)100000) #define PMAPVERS ((u_long)2) @@ -84,11 +91,14 @@ struct pmap { long unsigned pm_port; }; -extern bool_t xdr_pmap(); - struct pmaplist { struct pmap pml_map; struct pmaplist *pml_next; }; -extern bool_t xdr_pmaplist(); +__BEGIN_DECLS +extern bool_t xdr_pmap __P((XDR *, struct pmap *)); +extern bool_t xdr_pmaplist __P((XDR *, struct pmaplist **)); +__END_DECLS + +#endif /* !_RPC_PMAPPROT_H */ |
