X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=client%2Fsds.h;h=f99bb1e1515d139e110f91b3a5829260bdada172;hb=09b207a39b7791098daafd7d87c3ad9d3db3e19f;hp=4179f476a893aa51b29b772d970b585560cb0e58;hpb=a8b74f431274acab9369d983f0dfed64333dea9f;p=mTask.git diff --git a/client/sds.h b/client/sds.h index 4179f47..f99bb1e 100644 --- a/client/sds.h +++ b/client/sds.h @@ -1,6 +1,10 @@ #ifndef SDS_H #define SDS_H +#ifdef __cplusplus +extern "C" { +#endif + #include struct sds { @@ -18,4 +22,7 @@ void sds_publish(int id); int sds_fetch(int id); void sds_store(int id, int val); +#ifdef __cplusplus +} +#endif #endif