From ae40c00e1724fe7d6584623e3a953b6b44fc741f Mon Sep 17 00:00:00 2001 From: alfred Date: Tue, 28 May 2002 16:56:14 +0000 Subject: Assume __STDC__, remove non-__STDC__ code. Add $FreeBSD$. Submitted by: keramida --- include/rpcsvc/pmap_prot.x | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'include/rpcsvc') diff --git a/include/rpcsvc/pmap_prot.x b/include/rpcsvc/pmap_prot.x index d90e2c5..46fde1e 100644 --- a/include/rpcsvc/pmap_prot.x +++ b/include/rpcsvc/pmap_prot.x @@ -25,6 +25,8 @@ % * Sun Microsystems, Inc. % * 2550 Garcia Avenue % * Mountain View, California 94043 +% * +% * $FreeBSD$ % */ %/* % * Copyright (c) 1984,1989 by Sun Microsystems, Inc. @@ -142,11 +144,7 @@ typedef pm__list *pmaplist_ptr; /* results of PMAPPROC_DUMP */ %#ifdef __cplusplus %extern "C" { %#endif -%#ifdef __STDC__ %extern bool_t xdr_pmaplist(XDR *, pmaplist**); -%#else /* K&R C */ -%bool_t xdr_pmaplist(); -%#endif %#ifdef __cplusplus %} %#endif @@ -262,11 +260,7 @@ program PMAPPROG { % long unsigned pm_port; %}; %typedef struct pmap PMAP; -%#ifdef __STDC__ %extern bool_t xdr_pmap (XDR *, struct pmap *); -%#else -%extern bool_t xdr_pmap (); -%#endif % %struct pmaplist { % struct pmap pml_map; -- cgit v1.1