diff mbox

[04/10] Keystone2: Remove _GNU_SOURCE define from sources

Message ID 1397476530-20816-5-git-send-email-taras.kondratiuk@linaro.org
State Superseded
Headers show

Commit Message

Taras Kondratiuk April 14, 2014, 11:55 a.m. UTC
It is defined in the Makefile now.

Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
---
 platform/linux-keystone2/source/odp_linux.c        |    1 -
 .../linux-keystone2/source/odp_packet_netmap.c     |    1 -
 .../linux-keystone2/source/odp_packet_socket.c     |    1 -
 3 files changed, 3 deletions(-)
diff mbox

Patch

diff --git a/platform/linux-keystone2/source/odp_linux.c b/platform/linux-keystone2/source/odp_linux.c
index 6adeb3f..68d966a 100644
--- a/platform/linux-keystone2/source/odp_linux.c
+++ b/platform/linux-keystone2/source/odp_linux.c
@@ -5,7 +5,6 @@ 
  */
 
 
-#define _GNU_SOURCE
 #include <sched.h>
 
 #include <stdlib.h>
diff --git a/platform/linux-keystone2/source/odp_packet_netmap.c b/platform/linux-keystone2/source/odp_packet_netmap.c
index e3b6bc9..b4d4c2f 100644
--- a/platform/linux-keystone2/source/odp_packet_netmap.c
+++ b/platform/linux-keystone2/source/odp_packet_netmap.c
@@ -11,7 +11,6 @@ 
  * Copyright (C) 2013-2014 Universita` di Pisa. All rights reserved.
  */
 
-#define _GNU_SOURCE
 #include <stdio.h>
 #include <errno.h>
 #include <sys/types.h>
diff --git a/platform/linux-keystone2/source/odp_packet_socket.c b/platform/linux-keystone2/source/odp_packet_socket.c
index 4e5803f..9710575 100644
--- a/platform/linux-keystone2/source/odp_packet_socket.c
+++ b/platform/linux-keystone2/source/odp_packet_socket.c
@@ -6,7 +6,6 @@ 
  */
 
 
-#define _GNU_SOURCE
 #include <sys/socket.h>
 #include <stdio.h>
 #include <stdlib.h>