summaryrefslogtreecommitdiffstats
path: root/lib/mpls.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-08-07 09:22:59 (GMT)
committerThomas Haller <thaller@redhat.com>2023-08-07 09:38:49 (GMT)
commite0a5d12bffde1c7012537eb4fe2a6336a563f9c5 (patch)
tree69bc43c8ace9a86429317d28e5b4bc271c7fb8e6 /lib/mpls.h
parentd9a1e0ce9c9585291370eaf553ada035d159eb06 (diff)
downloadlibnl-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.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/mpls.h b/lib/mpls.h
index 502fd34..591b3cc 100644
--- a/lib/mpls.h
+++ b/lib/mpls.h
@@ -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