diff options
| author | Emanuele Di Pascale <emanuele@voltanet.io> | 2019-03-25 15:11:55 +0100 |
|---|---|---|
| committer | Emanuele Di Pascale <emanuele@voltanet.io> | 2019-03-25 16:05:27 +0100 |
| commit | 51e94aa7b167b5197f634eec11dc456994787993 (patch) | |
| tree | 286cdc3e00e8c21c718da3f164614a9c2c85ae2b /zebra/zebra_mpls.h | |
| parent | c9146c85a0356a9c62b52f384025bfe0ff65c654 (diff) | |
add cplusplus guards to all zebra headers
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
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 */ |
