diff options
| author | David Lamparter <equinox@diac24.net> | 2019-03-26 16:35:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-26 16:35:52 +0100 |
| commit | aa69ac38f409cd190e97adee3caa70cf4e6274a1 (patch) | |
| tree | cbabb7e795e13539b5fabef1a6d73b01e36e1879 /zebra/zebra_mpls.h | |
| parent | 860ff0589632f870e282ef2ad8ae9c8697053df9 (diff) | |
| parent | 51e94aa7b167b5197f634eec11dc456994787993 (diff) | |
Merge pull request #4013 from manuhalo/zebra_c++_guards
zebra: add extern C guards to headers
Diffstat (limited to 'zebra/zebra_mpls.h')
| -rw-r--r-- | zebra/zebra_mpls.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/zebra_mpls.h b/zebra/zebra_mpls.h index 39f084ad2f..f8c6c794a4 100644 --- a/zebra/zebra_mpls.h +++ b/zebra/zebra_mpls.h @@ -34,6 +34,9 @@ #include "zebra/zserv.h" #include "zebra/zebra_vrf.h" +#ifdef __cplusplus +extern "C" { +#endif /* Definitions and macros. */ @@ -534,4 +537,8 @@ static inline int mpls_should_lsps_be_processed(struct zebra_vrf *zvrf) /* Global variables. */ extern int mpls_enabled; +#ifdef __cplusplus +} +#endif + #endif /*_ZEBRA_MPLS_H */ |
