diff options
Diffstat (limited to 'libc/inet')
49 files changed, 0 insertions, 127 deletions
diff --git a/libc/inet/addr.c b/libc/inet/addr.c index 8ae857664..363adb65d 100644 --- a/libc/inet/addr.c +++ b/libc/inet/addr.c @@ -17,8 +17,6 @@ * Changed to use _int10tostr. */ -#define __FORCE_GLIBC -#include <features.h> #include <stdio.h> #include <string.h> #include <ctype.h> diff --git a/libc/inet/ether_addr.c b/libc/inet/ether_addr.c index 9071d71de..dcdbb7f95 100644 --- a/libc/inet/ether_addr.c +++ b/libc/inet/ether_addr.c @@ -23,8 +23,6 @@ * - initial uClibc port */ -#define __FORCE_GLIBC -#include <features.h> #include <ctype.h> #include <stdio.h> #include <stdlib.h> diff --git a/libc/inet/gai_strerror.c b/libc/inet/gai_strerror.c index 61688bad9..cfcb50775 100644 --- a/libc/inet/gai_strerror.c +++ b/libc/inet/gai_strerror.c @@ -17,8 +17,6 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#define __FORCE_GLIBC -#include <features.h> #include <stdio.h> #include <netdb.h> diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c index 88bd745a9..3b2973ef7 100644 --- a/libc/inet/getaddrinfo.c +++ b/libc/inet/getaddrinfo.c @@ -51,8 +51,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. If these license terms cause you a real problem, contact the author. */ -#define __FORCE_GLIBC -#include <features.h> #include <assert.h> #include <errno.h> #include <netdb.h> diff --git a/libc/inet/herror.c b/libc/inet/herror.c index a1f94ad64..53d29ff3d 100644 --- a/libc/inet/herror.c +++ b/libc/inet/herror.c @@ -17,8 +17,6 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#define __FORCE_GLIBC -#include <features.h> #include <stdio.h> #include <string.h> #include <netdb.h> diff --git a/libc/inet/hostid.c b/libc/inet/hostid.c index 90b22ae7a..d05a84f68 100644 --- a/libc/inet/hostid.c +++ b/libc/inet/hostid.c @@ -5,8 +5,6 @@ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ -#define __FORCE_GLIBC -#include <features.h> #include <errno.h> #include <unistd.h> #include <sys/types.h> diff --git a/libc/inet/if_index.c b/libc/inet/if_index.c index a1c23de12..e2f2da1bb 100644 --- a/libc/inet/if_index.c +++ b/libc/inet/if_index.c @@ -20,8 +20,6 @@ Reworked Dec 2002 by Erik Andersen <andersen@codepoet.org> */ -#define __FORCE_GLIBC -#include <features.h> #include <string.h> #include <alloca.h> #include <errno.h> diff --git a/libc/inet/ifaddrs.c b/libc/inet/ifaddrs.c index 3d2d21f6c..d9be47976 100644 --- a/libc/inet/ifaddrs.c +++ b/libc/inet/ifaddrs.c @@ -17,8 +17,6 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#define __FORCE_GLIBC -#include <features.h> #include <alloca.h> #include <assert.h> #include <errno.h> diff --git a/libc/inet/in6_addr.c b/libc/inet/in6_addr.c index 321a9f66a..735f8a32f 100644 --- a/libc/inet/in6_addr.c +++ b/libc/inet/in6_addr.c @@ -17,8 +17,6 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#define __FORCE_GLIBC -#include <features.h> #include <netinet/in.h> #ifdef __UCLIBC_HAS_IPV6__ diff --git a/libc/inet/inet_net.c b/libc/inet/inet_net.c index 3740311f9..a1d2b3d85 100644 --- a/libc/inet/inet_net.c +++ b/libc/inet/inet_net.c @@ -32,8 +32,6 @@ * SUCH DAMAGE. */ -#define __FORCE_GLIBC -#include <features.h> #include <ctype.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/libc/inet/ntop.c b/libc/inet/ntop.c index fa733e0ad..0181a415c 100644 --- a/libc/inet/ntop.c +++ b/libc/inet/ntop.c @@ -15,8 +15,6 @@ * SOFTWARE. */ -#define __FORCE_GLIBC -#include <features.h> #include <sys/param.h> #include <sys/types.h> #include <sys/socket.h> diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c index e73809875..2862ac884 100644 --- a/libc/inet/resolv.c +++ b/libc/inet/resolv.c @@ -293,8 +293,6 @@ Domain name in a message can be represented as either: - a sequence of labels ending with a pointer */ -#define __FORCE_GLIBC -#include <features.h> #include <string.h> #include <stdio.h> #include <stdio_ext.h> 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> diff --git a/libc/inet/socketcalls.c b/libc/inet/socketcalls.c index aae7e93bf..7ee3670eb 100644 --- a/libc/inet/socketcalls.c +++ b/libc/inet/socketcalls.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 <errno.h> #include <syscall.h> #include <sys/socket.h> |