summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/addr.c1
-rw-r--r--libc/inet/gai_strerror.c1
-rw-r--r--libc/inet/getaddrinfo.c1
-rw-r--r--libc/inet/getproto.c1
-rw-r--r--libc/inet/getservice.c1
-rw-r--r--libc/inet/if_index.c1
-rw-r--r--libc/inet/ifaddrs.c1
-rw-r--r--libc/inet/rpc/rcmd.c2
-rw-r--r--libc/inet/rpc/svc.c1
-rw-r--r--libc/inet/rpc/svc_auth_unix.c1
-rw-r--r--libc/inet/rpc/svc_run.c1
-rw-r--r--libc/inet/rpc/svc_simple.c1
-rw-r--r--libc/inet/rpc/svc_tcp.c1
-rw-r--r--libc/inet/rpc/svc_udp.c1
-rw-r--r--libc/inet/rpc/xdr.c1
-rw-r--r--libc/inet/rpc/xdr_array.c1
-rw-r--r--libc/inet/rpc/xdr_float.c1
-rw-r--r--libc/inet/rpc/xdr_mem.c1
-rw-r--r--libc/inet/rpc/xdr_rec.c1
-rw-r--r--libc/inet/rpc/xdr_reference.c1
20 files changed, 0 insertions, 21 deletions
diff --git a/libc/inet/addr.c b/libc/inet/addr.c
index f871d5efc..6434466c4 100644
--- a/libc/inet/addr.c
+++ b/libc/inet/addr.c
@@ -16,7 +16,6 @@
* Changed to use _int10tostr.
*/
-#define _GNU_SOURCE
#define __FORCE_GLIBC
#include <features.h>
#include <stdio.h>
diff --git a/libc/inet/gai_strerror.c b/libc/inet/gai_strerror.c
index 56fb57684..c1c7b767f 100644
--- a/libc/inet/gai_strerror.c
+++ b/libc/inet/gai_strerror.c
@@ -17,7 +17,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define _GNU_SOURCE
#define __FORCE_GLIBC
#include <features.h>
#include <stdio.h>
diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c
index 0aa86f1ab..1c593fc4f 100644
--- a/libc/inet/getaddrinfo.c
+++ b/libc/inet/getaddrinfo.c
@@ -49,7 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
If these license terms cause you a real problem, contact the author. */
-#define _GNU_SOURCE
#define __FORCE_GLIBC
#include <features.h>
#include <assert.h>
diff --git a/libc/inet/getproto.c b/libc/inet/getproto.c
index 0871d17c6..a54532ede 100644
--- a/libc/inet/getproto.c
+++ b/libc/inet/getproto.c
@@ -52,7 +52,6 @@
*/
#define __FORCE_GLIBC
-#define _GNU_SOURCE
#include <features.h>
#include <sys/types.h>
#include <sys/socket.h>
diff --git a/libc/inet/getservice.c b/libc/inet/getservice.c
index 9a2df8c12..7f4939bbd 100644
--- a/libc/inet/getservice.c
+++ b/libc/inet/getservice.c
@@ -52,7 +52,6 @@
*/
#define __FORCE_GLIBC
-#define _GNU_SOURCE
#include <features.h>
#include <sys/types.h>
#include <sys/socket.h>
diff --git a/libc/inet/if_index.c b/libc/inet/if_index.c
index 2a687bb89..fdb30f00a 100644
--- a/libc/inet/if_index.c
+++ b/libc/inet/if_index.c
@@ -22,7 +22,6 @@
#define __FORCE_GLIBC
#include <features.h>
-#define __USE_GNU
#include <string.h>
#include <alloca.h>
#include <errno.h>
diff --git a/libc/inet/ifaddrs.c b/libc/inet/ifaddrs.c
index d2d0cb8ce..b9f3cbd0e 100644
--- a/libc/inet/ifaddrs.c
+++ b/libc/inet/ifaddrs.c
@@ -19,7 +19,6 @@
#define __FORCE_GLIBC
#include <features.h>
-#define __USE_GNU
#include <alloca.h>
#include <assert.h>
#include <errno.h>
diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c
index df824f30d..1bd511d26 100644
--- a/libc/inet/rpc/rcmd.c
+++ b/libc/inet/rpc/rcmd.c
@@ -38,8 +38,6 @@ static char sccsid[] = "@(#)rcmd.c 8.3 (Berkeley) 3/26/94";
#define __UCLIBC_HIDE_DEPRECATED__
#define __FORCE_GLIBC
#include <features.h>
-
-#define __USE_GNU
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/libc/inet/rpc/svc.c b/libc/inet/rpc/svc.c
index d3ae65b6a..d41d7644c 100644
--- a/libc/inet/rpc/svc.c
+++ b/libc/inet/rpc/svc.c
@@ -37,7 +37,6 @@
*/
#define __FORCE_GLIBC
-#define _GNU_SOURCE
#include <features.h>
#include <errno.h>
diff --git a/libc/inet/rpc/svc_auth_unix.c b/libc/inet/rpc/svc_auth_unix.c
index 220e92b70..3afcfc5d4 100644
--- a/libc/inet/rpc/svc_auth_unix.c
+++ b/libc/inet/rpc/svc_auth_unix.c
@@ -39,7 +39,6 @@
*/
#define __FORCE_GLIBC
-#define _GNU_SOURCE
#include <features.h>
#include <stdio.h>
diff --git a/libc/inet/rpc/svc_run.c b/libc/inet/rpc/svc_run.c
index 5ec4715bd..50e5fcd79 100644
--- a/libc/inet/rpc/svc_run.c
+++ b/libc/inet/rpc/svc_run.c
@@ -32,7 +32,6 @@
*/
#define __FORCE_GLIBC
-#define _GNU_SOURCE
#include <features.h>
#include <errno.h>
diff --git a/libc/inet/rpc/svc_simple.c b/libc/inet/rpc/svc_simple.c
index 37637f485..a40f2b7b4 100644
--- a/libc/inet/rpc/svc_simple.c
+++ b/libc/inet/rpc/svc_simple.c
@@ -39,7 +39,6 @@ static char sccsid[] = "@(#)svc_simple.c 1.18 87/08/11 Copyr 1984 Sun Micro";
*/
#define __FORCE_GLIBC
-#define _GNU_SOURCE
#include <features.h>
#include <stdio.h>
diff --git a/libc/inet/rpc/svc_tcp.c b/libc/inet/rpc/svc_tcp.c
index 1ae0dedcd..135ad65fd 100644
--- a/libc/inet/rpc/svc_tcp.c
+++ b/libc/inet/rpc/svc_tcp.c
@@ -42,7 +42,6 @@ static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro";
*/
#define __FORCE_GLIBC
-#define _GNU_SOURCE
#include <features.h>
#include <stdio.h>
diff --git a/libc/inet/rpc/svc_udp.c b/libc/inet/rpc/svc_udp.c
index 7494bdac6..4be2782fa 100644
--- a/libc/inet/rpc/svc_udp.c
+++ b/libc/inet/rpc/svc_udp.c
@@ -40,7 +40,6 @@ static char sccsid[] = "@(#)svc_udp.c 1.24 87/08/11 Copyr 1984 Sun Micro";
*/
#define __FORCE_GLIBC
-#define _GNU_SOURCE
#include <features.h>
#include <stdio.h>
diff --git a/libc/inet/rpc/xdr.c b/libc/inet/rpc/xdr.c
index 031fe9bcb..34787a898 100644
--- a/libc/inet/rpc/xdr.c
+++ b/libc/inet/rpc/xdr.c
@@ -42,7 +42,6 @@ static char sccsid[] = "@(#)xdr.c 1.35 87/08/12";
*/
#define __FORCE_GLIBC
-#define _GNU_SOURCE
#include <features.h>
#include <stdio.h>
diff --git a/libc/inet/rpc/xdr_array.c b/libc/inet/rpc/xdr_array.c
index fc926026f..ddafc63b7 100644
--- a/libc/inet/rpc/xdr_array.c
+++ b/libc/inet/rpc/xdr_array.c
@@ -41,7 +41,6 @@ static char sccsid[] = "@(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro";
*/
#define __FORCE_GLIBC
-#define _GNU_SOURCE
#include <features.h>
#include <stdio.h>
diff --git a/libc/inet/rpc/xdr_float.c b/libc/inet/rpc/xdr_float.c
index e78cd2915..03632c5ca 100644
--- a/libc/inet/rpc/xdr_float.c
+++ b/libc/inet/rpc/xdr_float.c
@@ -42,7 +42,6 @@ static char sccsid[] = "@(#)xdr_float.c 1.12 87/08/11 Copyr 1984 Sun Micro";
*/
#define __FORCE_GLIBC
-#define _GNU_SOURCE
#include <features.h>
#include <stdio.h>
diff --git a/libc/inet/rpc/xdr_mem.c b/libc/inet/rpc/xdr_mem.c
index e4f5fc237..191672ec4 100644
--- a/libc/inet/rpc/xdr_mem.c
+++ b/libc/inet/rpc/xdr_mem.c
@@ -39,7 +39,6 @@
*/
#define __FORCE_GLIBC
-#define _GNU_SOURCE
#include <features.h>
diff --git a/libc/inet/rpc/xdr_rec.c b/libc/inet/rpc/xdr_rec.c
index 11c4ced7c..4534a83e7 100644
--- a/libc/inet/rpc/xdr_rec.c
+++ b/libc/inet/rpc/xdr_rec.c
@@ -45,7 +45,6 @@
*/
#define __FORCE_GLIBC
-#define _GNU_SOURCE
#include <features.h>
diff --git a/libc/inet/rpc/xdr_reference.c b/libc/inet/rpc/xdr_reference.c
index bf175404c..842d54426 100644
--- a/libc/inet/rpc/xdr_reference.c
+++ b/libc/inet/rpc/xdr_reference.c
@@ -41,7 +41,6 @@ static char sccsid[] = "@(#)xdr_reference.c 1.11 87/08/11 SMI";
*/
#define __FORCE_GLIBC
-#define _GNU_SOURCE
#include <features.h>
#include <stdio.h>