From 1dc0c95e782acf9763993b9ea2cf63ebc99a3de2 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 4 May 2010 12:36:05 -0700 Subject: [PATCH] Make wdp.h C++ friendly. From partner. --- ofproto/wdp.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ofproto/wdp.h b/ofproto/wdp.h index ee1efea00..ac9c01076 100644 --- a/ofproto/wdp.h +++ b/ofproto/wdp.h @@ -20,6 +20,10 @@ #include "classifier.h" #include "list.h" +#ifdef __cplusplus +extern "C" { +#endif + struct ofpbuf; struct svec; struct wdp; @@ -219,4 +223,8 @@ void wdp_recv_wait(struct wdp *); void wdp_get_netflow_ids(const struct wdp *, uint8_t *engine_type, uint8_t *engine_id); +#ifdef __cplusplus +} +#endif + #endif /* wdp.h */ -- 2.43.0