Assume __STDC__, remove non-__STDC__ code.
Add $FreeBSD$. Submitted by: keramida
This commit is contained in:
parent
49b7e6d25a
commit
6ba807ae3a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user