X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=util%2Fxutil.h;h=e27070009b6839f51653f946bdc0971653915c68;hp=b84e0e257e806937d37d41e1a00b44d5d6c81f73;hb=35e21bfb6f5fa4a0b61a71860e1f7f04d9e3e274;hpb=556c5fa8900d14c61544f3ac016d3cca1db5a91a diff --git a/util/xutil.h b/util/xutil.h index b84e0e25..e2707000 100644 --- a/util/xutil.h +++ b/util/xutil.h @@ -13,7 +13,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see http://www.gnu.org/licenses/ . + * along with this program. If not, see https://www.gnu.org/licenses/ . * * Author: Carl Worth */ @@ -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