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 /lib/mpls.h | |
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 'lib/mpls.h')
-rw-r--r-- | lib/mpls.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -1,15 +1,7 @@ #ifndef MPLS_H_ #define MPLS_H_ -#ifdef __cplusplus -extern "C" { -#endif - extern const char *mpls_ntop(int af, const void *addr, char *buf, size_t buflen); extern int mpls_pton(int af, const char *src, void *addr, size_t alen); -#ifdef __cplusplus -} -#endif - #endif |