X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmbswidth.h;h=4fcdb2096ae17033a0045604880ef50881fd1f71;hb=702381ebae6a90b07670cb45ab25a1a332eea511;hp=6fec3f4904a4acbe80ccdc29f8e57b6510c5ba82;hpb=d65bac0ebeea2672d71c44a35c8e15a07fc6a2c7;p=gnulib.git diff --git a/lib/mbswidth.h b/lib/mbswidth.h index 6fec3f490..4fcdb2096 100644 --- a/lib/mbswidth.h +++ b/lib/mbswidth.h @@ -30,6 +30,11 @@ #endif +#ifdef __cplusplus +extern "C" { +#endif + + /* Optional flags to influence mbswidth/mbsnwidth behavior. */ /* If this bit is set, return -1 upon finding an invalid or incomplete @@ -49,3 +54,8 @@ extern int mbswidth (const char *string, int flags); /* Returns the number of screen columns needed for the NBYTES bytes starting at BUF. */ extern int mbsnwidth (const char *buf, size_t nbytes, int flags); + + +#ifdef __cplusplus +} +#endif