X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fshash.h;h=471918b270242681475fcfc92318011c1cd3fd81;hb=67a4917b07031b387beafaedce413b4207214059;hp=5794a20f4d3b0659e3bf7533fff228e734327459;hpb=d65349ea28bb67a0062a9b4b60ff97538206373b;p=openvswitch diff --git a/lib/shash.h b/lib/shash.h index 5794a20f..471918b2 100644 --- a/lib/shash.h +++ b/lib/shash.h @@ -19,6 +19,10 @@ #include "hmap.h" +#ifdef __cplusplus +extern "C" { +#endif + struct shash_node { struct hmap_node node; char *name; @@ -48,4 +52,8 @@ struct shash_node *shash_find(const struct shash *, const char *); void *shash_find_data(const struct shash *, const char *); struct shash_node *shash_first(const struct shash *); +#ifdef __cplusplus +} +#endif + #endif /* shash.h */