X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmbswidth.h;h=1935e0a2dcacce929764aa5bc42a2fe17e644a74;hb=7b9878d56ceb1a8ed1255ea1e6010638af7252c6;hp=6fec3f4904a4acbe80ccdc29f8e57b6510c5ba82;hpb=d65bac0ebeea2672d71c44a35c8e15a07fc6a2c7;p=gnulib.git diff --git a/lib/mbswidth.h b/lib/mbswidth.h index 6fec3f490..1935e0a2d 100644 --- a/lib/mbswidth.h +++ b/lib/mbswidth.h @@ -13,7 +13,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include @@ -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