From 51e94aa7b167b5197f634eec11dc456994787993 Mon Sep 17 00:00:00 2001 From: Emanuele Di Pascale Date: Mon, 25 Mar 2019 15:11:55 +0100 Subject: add cplusplus guards to all zebra headers Signed-off-by: Emanuele Di Pascale --- zebra/zebra_errors.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'zebra/zebra_errors.h') diff --git a/zebra/zebra_errors.h b/zebra/zebra_errors.h index 0af5f8a551..2b7831a408 100644 --- a/zebra/zebra_errors.h +++ b/zebra/zebra_errors.h @@ -23,6 +23,10 @@ #include "lib/ferr.h" +#ifdef __cplusplus +extern "C" { +#endif + enum zebra_log_refs { EC_ZEBRA_LM_RESPONSE = ZEBRA_FERR_START, EC_ZEBRA_LM_NO_SUCH_CLIENT, @@ -126,4 +130,8 @@ enum zebra_log_refs { void zebra_error_init(void); +#ifdef __cplusplus +} +#endif + #endif /* __EC_ZEBRAORS_H__ */ -- cgit v1.2.3