X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fsvec.h;h=d9bb8a79e2f5b4ff73d940cdebbeca8eef9f6ec3;hb=a0bc29a541fc7dc6e20137d5558e2094d614e6ab;hp=2a93139ad9acf2b69f555ff2ae00518d275900bf;hpb=58fda1dab104041fc693032475ec4662c1a52849;p=openvswitch diff --git a/lib/svec.h b/lib/svec.h index 2a93139a..d9bb8a79 100644 --- a/lib/svec.h +++ b/lib/svec.h @@ -19,6 +19,10 @@ #include #include + +#ifdef __cplusplus +extern "C" { +#endif struct svec { char **names; @@ -67,5 +71,9 @@ void svec_pop_back(struct svec *); ? (NAME) = (SVEC)->names[INDEX], 1 \ : 0); \ (INDEX)++) + +#ifdef __cplusplus +} +#endif #endif /* svec.h */