blob: 9b7c1e7fa2dc0c3df57cd79b26e7692ca6ac9d93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
Index: b/usr/src/head/rpcsvc/rstat.x
===================================================================
--- a/usr/src/head/rpcsvc/rstat.x
+++ b/usr/src/head/rpcsvc/rstat.x
@@ -72,13 +72,7 @@
% */
%
%bool_t
-%#ifdef __STDC__
%xdr_timeval(XDR *xdrs, struct timeval *tvp)
-%#else /* K&R C */
-%xdr_timeval(xdrs, tvp)
-% XDR *xdrs;
-% struct timeval *tvp;
-%#endif /* K&R C */
%{
% return (xdr_rstat_timeval(xdrs, (rstat_timeval *)tvp));
%}
@@ -167,12 +161,7 @@ program RSTATPROG {
#ifdef RPC_HDR
%
-%#if defined(__STDC__) || defined(__cplusplus)
%enum clnt_stat rstat(char *, struct statstime *);
%int havedisk(char *);
-%#else
-%enum clnt_stat rstat();
-%int havedisk();
-%#endif
%
#endif
|