summaryrefslogtreecommitdiff
path: root/libc/inet/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc')
-rw-r--r--libc/inet/rpc/auth_none.c2
-rw-r--r--libc/inet/rpc/auth_unix.c3
-rw-r--r--libc/inet/rpc/bindresvport.c3
-rw-r--r--libc/inet/rpc/clnt_generic.c3
-rw-r--r--libc/inet/rpc/clnt_perror.c3
-rw-r--r--libc/inet/rpc/clnt_raw.c1
-rw-r--r--libc/inet/rpc/clnt_simple.c3
-rw-r--r--libc/inet/rpc/clnt_tcp.c3
-rw-r--r--libc/inet/rpc/clnt_udp.c3
-rw-r--r--libc/inet/rpc/clnt_unix.c3
-rw-r--r--libc/inet/rpc/create_xid.c3
-rw-r--r--libc/inet/rpc/getrpcent.c2
-rw-r--r--libc/inet/rpc/getrpcport.c3
-rw-r--r--libc/inet/rpc/pmap_clnt.c3
-rw-r--r--libc/inet/rpc/pmap_rmt.c3
-rw-r--r--libc/inet/rpc/rexec.c2
-rw-r--r--libc/inet/rpc/rpc_cmsg.c3
-rw-r--r--libc/inet/rpc/rpc_dtablesize.c4
-rw-r--r--libc/inet/rpc/rpc_prot.c3
-rw-r--r--libc/inet/rpc/rpc_thread.c2
-rw-r--r--libc/inet/rpc/rtime.c3
-rw-r--r--libc/inet/rpc/ruserpass.c2
-rw-r--r--libc/inet/rpc/sa_len.c2
-rw-r--r--libc/inet/rpc/svc.c3
-rw-r--r--libc/inet/rpc/svc_authux.c3
-rw-r--r--libc/inet/rpc/svc_raw.c2
-rw-r--r--libc/inet/rpc/svc_run.c3
-rw-r--r--libc/inet/rpc/svc_simple.c3
-rw-r--r--libc/inet/rpc/svc_tcp.c3
-rw-r--r--libc/inet/rpc/svc_udp.c3
-rw-r--r--libc/inet/rpc/svc_unix.c3
-rw-r--r--libc/inet/rpc/xdr.c3
-rw-r--r--libc/inet/rpc/xdr_array.c3
-rw-r--r--libc/inet/rpc/xdr_float.c3
-rw-r--r--libc/inet/rpc/xdr_rec.c4
-rw-r--r--libc/inet/rpc/xdr_reference.c3
36 files changed, 0 insertions, 101 deletions
diff --git a/libc/inet/rpc/auth_none.c b/libc/inet/rpc/auth_none.c
index 70bee5b57..4bf37cb10 100644
--- a/libc/inet/rpc/auth_none.c
+++ b/libc/inet/rpc/auth_none.c
@@ -35,8 +35,6 @@
* credentials and verifiers to remote systems.
*/
-#define __FORCE_GLIBC
-#include <features.h>
#include "rpc_private.h"
diff --git a/libc/inet/rpc/auth_unix.c b/libc/inet/rpc/auth_unix.c
index 1337214e5..62d97dca5 100644
--- a/libc/inet/rpc/auth_unix.c
+++ b/libc/inet/rpc/auth_unix.c
@@ -38,9 +38,6 @@
* for the credentials.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <limits.h>
#include <stdio.h>
#include <string.h>
diff --git a/libc/inet/rpc/bindresvport.c b/libc/inet/rpc/bindresvport.c
index fc077af67..30bbd2684 100644
--- a/libc/inet/rpc/bindresvport.c
+++ b/libc/inet/rpc/bindresvport.c
@@ -30,9 +30,6 @@
* Copyright (c) 1987 by Sun Microsystems, Inc.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <errno.h>
#include <unistd.h>
#include <string.h>
diff --git a/libc/inet/rpc/clnt_generic.c b/libc/inet/rpc/clnt_generic.c
index 8aeae1ec4..a53546737 100644
--- a/libc/inet/rpc/clnt_generic.c
+++ b/libc/inet/rpc/clnt_generic.c
@@ -30,9 +30,6 @@
* Copyright (C) 1987, Sun Microsystems, Inc.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <alloca.h>
#include <errno.h>
#include <string.h>
diff --git a/libc/inet/rpc/clnt_perror.c b/libc/inet/rpc/clnt_perror.c
index 8dbae729f..18114b7a0 100644
--- a/libc/inet/rpc/clnt_perror.c
+++ b/libc/inet/rpc/clnt_perror.c
@@ -38,9 +38,6 @@ static char sccsid[] = "@(#)clnt_perror.c 1.15 87/10/07 Copyr 1984 Sun Micro";
*
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <stdio.h>
#include <string.h>
#include "rpc_private.h"
diff --git a/libc/inet/rpc/clnt_raw.c b/libc/inet/rpc/clnt_raw.c
index 75dd98286..ddc1c1421 100644
--- a/libc/inet/rpc/clnt_raw.c
+++ b/libc/inet/rpc/clnt_raw.c
@@ -42,7 +42,6 @@ static char sccsid[] = "@(#)clnt_raw.c 1.22 87/08/11 Copyr 1984 Sun Micro";
* any interference from the kernel.
*/
-#define __FORCE_GLIBC
#include <features.h>
#include "rpc_private.h"
#include <rpc/svc.h>
diff --git a/libc/inet/rpc/clnt_simple.c b/libc/inet/rpc/clnt_simple.c
index f66228a5f..d67e69527 100644
--- a/libc/inet/rpc/clnt_simple.c
+++ b/libc/inet/rpc/clnt_simple.c
@@ -38,9 +38,6 @@ static char sccsid[] = "@(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro";
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <alloca.h>
#include <errno.h>
#include <stdio.h>
diff --git a/libc/inet/rpc/clnt_tcp.c b/libc/inet/rpc/clnt_tcp.c
index d8d7bb359..308ecee28 100644
--- a/libc/inet/rpc/clnt_tcp.c
+++ b/libc/inet/rpc/clnt_tcp.c
@@ -50,9 +50,6 @@ static char sccsid[] = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";
* Now go hang yourself.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <netdb.h>
#include <errno.h>
#include <stdio.h>
diff --git a/libc/inet/rpc/clnt_udp.c b/libc/inet/rpc/clnt_udp.c
index aca3e337b..f0c8ce8ec 100644
--- a/libc/inet/rpc/clnt_udp.c
+++ b/libc/inet/rpc/clnt_udp.c
@@ -37,9 +37,6 @@ static char sccsid[] = "@(#)clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro";
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <stdio.h>
#include <unistd.h>
#include <rpc/rpc.h>
diff --git a/libc/inet/rpc/clnt_unix.c b/libc/inet/rpc/clnt_unix.c
index 9870149e9..d79dbd7c9 100644
--- a/libc/inet/rpc/clnt_unix.c
+++ b/libc/inet/rpc/clnt_unix.c
@@ -46,9 +46,6 @@
* Now go hang yourself.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <netdb.h>
#include <errno.h>
#include <stdio.h>
diff --git a/libc/inet/rpc/create_xid.c b/libc/inet/rpc/create_xid.c
index 3b4e8c08d..de7f7cfe1 100644
--- a/libc/inet/rpc/create_xid.c
+++ b/libc/inet/rpc/create_xid.c
@@ -17,9 +17,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <unistd.h>
#include <stdlib.h>
#include <sys/time.h>
diff --git a/libc/inet/rpc/getrpcent.c b/libc/inet/rpc/getrpcent.c
index de20d64d4..dba2a6878 100644
--- a/libc/inet/rpc/getrpcent.c
+++ b/libc/inet/rpc/getrpcent.c
@@ -33,8 +33,6 @@
* Copyright (c) 1985 by Sun Microsystems, Inc.
*/
-#define __FORCE_GLIBC
-#include <features.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
diff --git a/libc/inet/rpc/getrpcport.c b/libc/inet/rpc/getrpcport.c
index 9c4f443e4..84f1e5ff5 100644
--- a/libc/inet/rpc/getrpcport.c
+++ b/libc/inet/rpc/getrpcport.c
@@ -35,9 +35,6 @@ static char sccsid[] = "@(#)getrpcport.c 1.3 87/08/11 SMI";
* Copyright (c) 1985 by Sun Microsystems, Inc.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <alloca.h>
#include <errno.h>
#include <stdio.h>
diff --git a/libc/inet/rpc/pmap_clnt.c b/libc/inet/rpc/pmap_clnt.c
index c35a2e97f..868326e62 100644
--- a/libc/inet/rpc/pmap_clnt.c
+++ b/libc/inet/rpc/pmap_clnt.c
@@ -34,9 +34,6 @@
* Client interface to pmap rpc service.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <stdio.h>
#include <unistd.h>
#include <net/if.h>
diff --git a/libc/inet/rpc/pmap_rmt.c b/libc/inet/rpc/pmap_rmt.c
index f9dd6e727..0c4994087 100644
--- a/libc/inet/rpc/pmap_rmt.c
+++ b/libc/inet/rpc/pmap_rmt.c
@@ -39,9 +39,6 @@ static char sccsid[] = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro";
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <unistd.h>
#include <string.h>
#include <rpc/rpc.h>
diff --git a/libc/inet/rpc/rexec.c b/libc/inet/rpc/rexec.c
index 4148fdd07..9f7cc80e3 100644
--- a/libc/inet/rpc/rexec.c
+++ b/libc/inet/rpc/rexec.c
@@ -27,8 +27,6 @@
* SUCH DAMAGE.
*/
-#define __FORCE_GLIBC
-#include <features.h>
#include <sys/types.h>
#include <sys/socket.h>
diff --git a/libc/inet/rpc/rpc_cmsg.c b/libc/inet/rpc/rpc_cmsg.c
index a8c257344..06d042ecb 100644
--- a/libc/inet/rpc/rpc_cmsg.c
+++ b/libc/inet/rpc/rpc_cmsg.c
@@ -38,9 +38,6 @@ static char sccsid[] = "@(#)rpc_callmsg.c 1.4 87/08/11 Copyr 1984 Sun Micro";
*
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <string.h>
#include <sys/param.h>
#include <rpc/rpc.h>
diff --git a/libc/inet/rpc/rpc_dtablesize.c b/libc/inet/rpc/rpc_dtablesize.c
index 692e8fce7..45cab6212 100644
--- a/libc/inet/rpc/rpc_dtablesize.c
+++ b/libc/inet/rpc/rpc_dtablesize.c
@@ -31,10 +31,6 @@
static char sccsid[] = "@(#)rpc_dtablesize.c 1.2 87/08/11 Copyr 1987 Sun Micro";
#endif
-#define __FORCE_GLIBC
-#define __USE_BSD
-#include <features.h>
-
#include <unistd.h>
#include <rpc/clnt.h>
diff --git a/libc/inet/rpc/rpc_prot.c b/libc/inet/rpc/rpc_prot.c
index bf55a3cfc..d43214d18 100644
--- a/libc/inet/rpc/rpc_prot.c
+++ b/libc/inet/rpc/rpc_prot.c
@@ -44,9 +44,6 @@ static char sccsid[] = "@(#)rpc_prot.c 1.36 87/08/11 Copyr 1984 Sun Micro";
* routines are also in this program.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <sys/param.h>
#include <rpc/rpc.h>
diff --git a/libc/inet/rpc/rpc_thread.c b/libc/inet/rpc/rpc_thread.c
index 33676590f..d8d753421 100644
--- a/libc/inet/rpc/rpc_thread.c
+++ b/libc/inet/rpc/rpc_thread.c
@@ -4,8 +4,6 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-#define __FORCE_GLIBC
-#include <features.h>
#include <stdio.h>
#include <assert.h>
#include "rpc_private.h"
diff --git a/libc/inet/rpc/rtime.c b/libc/inet/rpc/rtime.c
index 8a78c2900..02016bf82 100644
--- a/libc/inet/rpc/rtime.c
+++ b/libc/inet/rpc/rtime.c
@@ -43,9 +43,6 @@ static char sccsid[] = "@(#)rtime.c 2.2 88/08/10 4.0 RPCSRC; from 1.8 88/02/08 S
* what unix uses.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <stdio.h>
#include <unistd.h>
#include <rpc/rpc.h>
diff --git a/libc/inet/rpc/ruserpass.c b/libc/inet/rpc/ruserpass.c
index 0e4b74fcf..dd8302150 100644
--- a/libc/inet/rpc/ruserpass.c
+++ b/libc/inet/rpc/ruserpass.c
@@ -27,8 +27,6 @@
* SUCH DAMAGE.
*/
-#define __FORCE_GLIBC
-#include <features.h>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/libc/inet/rpc/sa_len.c b/libc/inet/rpc/sa_len.c
index 5f258db1f..3efc7d36f 100644
--- a/libc/inet/rpc/sa_len.c
+++ b/libc/inet/rpc/sa_len.c
@@ -16,8 +16,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define __FORCE_GLIBC
-#include <features.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netipx/ipx.h>
diff --git a/libc/inet/rpc/svc.c b/libc/inet/rpc/svc.c
index b28485de3..6d7253a43 100644
--- a/libc/inet/rpc/svc.c
+++ b/libc/inet/rpc/svc.c
@@ -36,9 +36,6 @@
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <errno.h>
#include <unistd.h>
#include <string.h>
diff --git a/libc/inet/rpc/svc_authux.c b/libc/inet/rpc/svc_authux.c
index 03ec4d3b8..ca1a645e4 100644
--- a/libc/inet/rpc/svc_authux.c
+++ b/libc/inet/rpc/svc_authux.c
@@ -38,9 +38,6 @@
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <stdio.h>
#include <string.h>
#include <rpc/rpc.h>
diff --git a/libc/inet/rpc/svc_raw.c b/libc/inet/rpc/svc_raw.c
index f915a7d66..b76663d94 100644
--- a/libc/inet/rpc/svc_raw.c
+++ b/libc/inet/rpc/svc_raw.c
@@ -40,8 +40,6 @@ static char sccsid[] = "@(#)svc_raw.c 1.15 87/08/11 Copyr 1984 Sun Micro";
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
-#define __FORCE_GLIBC
-#include <features.h>
#include "rpc_private.h"
#include <rpc/svc.h>
diff --git a/libc/inet/rpc/svc_run.c b/libc/inet/rpc/svc_run.c
index 1442cba55..a685df36c 100644
--- a/libc/inet/rpc/svc_run.c
+++ b/libc/inet/rpc/svc_run.c
@@ -31,9 +31,6 @@
* Wait for input, call server program.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <errno.h>
#include <unistd.h>
#include <sys/poll.h>
diff --git a/libc/inet/rpc/svc_simple.c b/libc/inet/rpc/svc_simple.c
index dceb6acb7..8972f73e2 100644
--- a/libc/inet/rpc/svc_simple.c
+++ b/libc/inet/rpc/svc_simple.c
@@ -38,9 +38,6 @@ static char sccsid[] = "@(#)svc_simple.c 1.18 87/08/11 Copyr 1984 Sun Micro";
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <stdio.h>
#include <string.h>
#include <unistd.h>
diff --git a/libc/inet/rpc/svc_tcp.c b/libc/inet/rpc/svc_tcp.c
index 363f20315..981059400 100644
--- a/libc/inet/rpc/svc_tcp.c
+++ b/libc/inet/rpc/svc_tcp.c
@@ -41,9 +41,6 @@ static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro";
* and a record/tcp stream.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <stdio.h>
#include <unistd.h>
#include <string.h>
diff --git a/libc/inet/rpc/svc_udp.c b/libc/inet/rpc/svc_udp.c
index 87015c6c5..0d3840eec 100644
--- a/libc/inet/rpc/svc_udp.c
+++ b/libc/inet/rpc/svc_udp.c
@@ -39,9 +39,6 @@ static char sccsid[] = "@(#)svc_udp.c 1.24 87/08/11 Copyr 1984 Sun Micro";
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <stdio.h>
#include <unistd.h>
#include <string.h>
diff --git a/libc/inet/rpc/svc_unix.c b/libc/inet/rpc/svc_unix.c
index 61859773d..1a7874c62 100644
--- a/libc/inet/rpc/svc_unix.c
+++ b/libc/inet/rpc/svc_unix.c
@@ -37,9 +37,6 @@
* and a record/unix stream.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <stdio.h>
#include <unistd.h>
#include <string.h>
diff --git a/libc/inet/rpc/xdr.c b/libc/inet/rpc/xdr.c
index bcf890176..de10c45e9 100644
--- a/libc/inet/rpc/xdr.c
+++ b/libc/inet/rpc/xdr.c
@@ -41,9 +41,6 @@ static char sccsid[] = "@(#)xdr.c 1.35 87/08/12";
* xdr.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <stdio.h>
#include <limits.h>
#include <string.h>
diff --git a/libc/inet/rpc/xdr_array.c b/libc/inet/rpc/xdr_array.c
index 61603edd1..cd9005069 100644
--- a/libc/inet/rpc/xdr_array.c
+++ b/libc/inet/rpc/xdr_array.c
@@ -40,9 +40,6 @@ static char sccsid[] = "@(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro";
* arrays. See xdr.h for more info on the interface to xdr.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <stdio.h>
#include <string.h>
#include <rpc/types.h>
diff --git a/libc/inet/rpc/xdr_float.c b/libc/inet/rpc/xdr_float.c
index fd3863ff5..5121239ea 100644
--- a/libc/inet/rpc/xdr_float.c
+++ b/libc/inet/rpc/xdr_float.c
@@ -41,9 +41,6 @@ static char sccsid[] = "@(#)xdr_float.c 1.12 87/08/11 Copyr 1984 Sun Micro";
* xdr.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <stdio.h>
#include <endian.h>
diff --git a/libc/inet/rpc/xdr_rec.c b/libc/inet/rpc/xdr_rec.c
index 1e02e7f44..a5f49c67e 100644
--- a/libc/inet/rpc/xdr_rec.c
+++ b/libc/inet/rpc/xdr_rec.c
@@ -44,10 +44,6 @@
* The other 31 bits encode the byte length of the fragment.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
-
#include <stdio.h>
#include <string.h>
#include <unistd.h>
diff --git a/libc/inet/rpc/xdr_reference.c b/libc/inet/rpc/xdr_reference.c
index 1c601fc95..6061e93c3 100644
--- a/libc/inet/rpc/xdr_reference.c
+++ b/libc/inet/rpc/xdr_reference.c
@@ -40,9 +40,6 @@ static char sccsid[] = "@(#)xdr_reference.c 1.11 87/08/11 SMI";
* "pointers". See xdr.h for more info on the interface to xdr.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <stdio.h>
#include <string.h>
#include <rpc/types.h>