X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=util%2Fxutil.h;h=e27070009b6839f51653f946bdc0971653915c68;hp=4829f33c9ec8c73875d3f378382ad6c55625f6f8;hb=a6b0772b60d9191fcc291358eec3d78bfea31f1c;hpb=6a833a6e83865f6999707cc30768d07e1351c2cb diff --git a/util/xutil.h b/util/xutil.h index 4829f33c..e2707000 100644 --- a/util/xutil.h +++ b/util/xutil.h @@ -25,6 +25,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /* xutil.c */ void * xcalloc (size_t nmemb, size_t size); @@ -49,4 +53,8 @@ int xregexec (const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags); +#ifdef __cplusplus +} +#endif + #endif