diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2014-08-21 02:03:04 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2014-08-22 12:43:38 +0400 |
commit | c28cf78818b17318e47b06abb0032fddf9b996d7 (patch) | |
tree | 04a48d363eddb5d5b32f28385ede2ac0da9c1e7e /platform | |
parent | 6498e3431353cfd7b841267ea13b2c9607a6c5f0 (diff) |
linux-generic: odp_pktio_netmap: add cpluspus ifdef
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Reviewed-and-Tested-by: Mike Holmes <mike.holmes@linaro.org>
Reviewed-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
Diffstat (limited to 'platform')
-rw-r--r-- | platform/linux-generic/include/api/odp_pktio_netmap.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/linux-generic/include/api/odp_pktio_netmap.h b/platform/linux-generic/include/api/odp_pktio_netmap.h index 85272d54a..294a13d5e 100644 --- a/platform/linux-generic/include/api/odp_pktio_netmap.h +++ b/platform/linux-generic/include/api/odp_pktio_netmap.h @@ -14,6 +14,10 @@ #ifndef ODP_PKTIO_NETMAP_H #define ODP_PKTIO_NETMAP_H +#ifdef __cplusplus +extern "C" { +#endif + #include <odp_pktio_types.h> #define ODP_NETMAP_MODE_HW 0 /**< Netmap mode in hardware */ @@ -28,4 +32,8 @@ typedef struct { uint16_t ringid; /**< Ring identifiers */ } netmap_params_t; +#ifdef __cplusplus +} +#endif + #endif |