aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-17 21:34:24 +0200
committerMattias Andrée <maandree@kth.se>2016-07-17 21:34:24 +0200
commitaca30fd7dac4d02721508e31c51656773f78a6b7 (patch)
tree271dc144fe0f5a81a01aef20089fa4d85b3ade67 /src/util.h
parentm (diff)
downloadcoopgammad-aca30fd7dac4d02721508e31c51656773f78a6b7.tar.gz
coopgammad-aca30fd7dac4d02721508e31c51656773f78a6b7.tar.bz2
coopgammad-aca30fd7dac4d02721508e31c51656773f78a6b7.tar.xz
Ungeneralise verify_utf8
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 915c44a..6eafcb4 100644
--- a/src/util.h
+++ b/src/util.h
@@ -99,7 +99,7 @@ void msleep(unsigned ms);
* @return Zero if good, -1 on encoding error
*/
GCC_ONLY(__attribute__((pure, nonnull)))
-int verify_utf8(const char* restrict string, int allow_modified_nul);
+int verify_utf8(const char* restrict string);
/**
* Make identity mapping ramps