This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via 0ebd57ab0ea8e1a95cdb8a564fcaec4cad6231e7 (commit) from a7c60d702466bc0f9de64993446e8ec39a16de88 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 0ebd57ab0ea8e1a95cdb8a564fcaec4cad6231e7 Author: Petri Savolainen petri.savolainen@linaro.org Date: Mon Jun 25 11:18:51 2018 +0300
linux-gen: use common posix extensions header
Use odp_posix_extensions.h inside ODP implementation to ensure that (when extensions are used) the same level of POSIX extensions is used everywhere.
Signed-off-by: Petri Savolainen petri.savolainen@linaro.org Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/odp_traffic_mngr.c b/platform/linux-generic/odp_traffic_mngr.c index abd9cffc..a89c5a2b 100644 --- a/platform/linux-generic/odp_traffic_mngr.c +++ b/platform/linux-generic/odp_traffic_mngr.c @@ -7,10 +7,8 @@ */
#include "config.h" +#include <odp_posix_extensions.h>
-#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif #include <stdint.h> #include <string.h> #include <malloc.h> diff --git a/platform/linux-generic/pktio/ethtool_rss.c b/platform/linux-generic/pktio/ethtool_rss.c index e1ba33aa..1ad9c970 100644 --- a/platform/linux-generic/pktio/ethtool_rss.c +++ b/platform/linux-generic/pktio/ethtool_rss.c @@ -5,10 +5,7 @@ */
#include "config.h" - -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif +#include <odp_posix_extensions.h>
#include <stdio.h> #include <stdlib.h> diff --git a/platform/linux-generic/pktio/socket_common.c b/platform/linux-generic/pktio/socket_common.c index edb4bcf3..f5bf9e00 100644 --- a/platform/linux-generic/pktio/socket_common.c +++ b/platform/linux-generic/pktio/socket_common.c @@ -4,10 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ #include "config.h" - -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif +#include <odp_posix_extensions.h>
#include <stdio.h> #include <stdlib.h> diff --git a/platform/linux-generic/pktio/stats/ethtool_stats.c b/platform/linux-generic/pktio/stats/ethtool_stats.c index fc04fd31..bfc2a60c 100644 --- a/platform/linux-generic/pktio/stats/ethtool_stats.c +++ b/platform/linux-generic/pktio/stats/ethtool_stats.c @@ -5,10 +5,8 @@ */
#include "config.h" +#include <odp_posix_extensions.h>
-#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif #include <sys/ioctl.h> #include <netinet/in.h> #include <linux/sockios.h>
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/odp_traffic_mngr.c | 4 +--- platform/linux-generic/pktio/ethtool_rss.c | 5 +---- platform/linux-generic/pktio/socket_common.c | 5 +---- platform/linux-generic/pktio/stats/ethtool_stats.c | 4 +--- 4 files changed, 4 insertions(+), 14 deletions(-)
hooks/post-receive