diff options
author | Thomas Haller <thaller@redhat.com> | 2023-08-07 09:22:59 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-08-07 09:38:49 (GMT) |
commit | e0a5d12bffde1c7012537eb4fe2a6336a563f9c5 (patch) | |
tree | 69bc43c8ace9a86429317d28e5b4bc271c7fb8e6 /include | |
parent | d9a1e0ce9c9585291370eaf553ada035d159eb06 (diff) | |
download | libnl-e0a5d12bffde1c7012537eb4fe2a6336a563f9c5.zip libnl-e0a5d12bffde1c7012537eb4fe2a6336a563f9c5.tar.gz libnl-e0a5d12bffde1c7012537eb4fe2a6336a563f9c5.tar.bz2 |
all: drop "extern "C"" from internal code
libnl3 itself needs to be build with a C compiler. Drop the unnecessary
"extern "C"" parts from internal code.
Diffstat (limited to 'include')
-rw-r--r-- | include/nl-priv-dynamic-core/cache-api.h | 8 | ||||
-rw-r--r-- | include/nl-priv-dynamic-core/object-api.h | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/include/nl-priv-dynamic-core/cache-api.h b/include/nl-priv-dynamic-core/cache-api.h index 6491651..2ddc30c 100644 --- a/include/nl-priv-dynamic-core/cache-api.h +++ b/include/nl-priv-dynamic-core/cache-api.h @@ -9,10 +9,6 @@ #include <netlink/netlink.h> #include <netlink/cache.h> -#ifdef __cplusplus -extern "C" { -#endif - /** * @ingroup cache * @defgroup cache_api Cache Implementation @@ -281,8 +277,4 @@ struct nl_cache_assoc { void *ca_change_data; }; -#ifdef __cplusplus -} -#endif - #endif diff --git a/include/nl-priv-dynamic-core/object-api.h b/include/nl-priv-dynamic-core/object-api.h index a539e37..a20a9d5 100644 --- a/include/nl-priv-dynamic-core/object-api.h +++ b/include/nl-priv-dynamic-core/object-api.h @@ -10,10 +10,6 @@ #include <netlink/utils.h> #include <netlink/object.h> -#ifdef __cplusplus -extern "C" { -#endif - /** * @ingroup object * @defgroup object_api Object API @@ -365,8 +361,4 @@ struct nl_object_ops /** @} */ -#ifdef __cplusplus -} -#endif - #endif |