summaryrefslogtreecommitdiff
path: root/libc/debian/patches/rstat.x-stdc.patch
blob: 5f24e7cc4d3fee2fe4f24551cbb4c95b76f01e72 (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: libc/usr/src/head/rpcsvc/rstat.x
===================================================================
--- libc.orig/usr/src/head/rpcsvc/rstat.x	2013-09-27 18:07:00.831925924 +0400
+++ libc/usr/src/head/rpcsvc/rstat.x	2013-09-27 18:19:42.345521803 +0400
@@ -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 @@
 
 #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