summaryrefslogtreecommitdiff
path: root/lib/mbswidth.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-05 23:01:03 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-05 23:01:03 +0000
commitd86254a25acd878c97af400f8ad1309ac6e307b3 (patch)
treec15293059bff93c15975ced98e23d97c13307d7e /lib/mbswidth.h
parent71ff7490f9162ef114c2b141b1a1305e6c20c439 (diff)
downloadcoreutils-d86254a25acd878c97af400f8ad1309ac6e307b3.tar.xz
Sync from gnulib.
Diffstat (limited to 'lib/mbswidth.h')
-rw-r--r--lib/mbswidth.h10
1 files changed, 10 insertions, 0 deletions
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