aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-17 21:45:32 +0200
committerMattias Andrée <maandree@kth.se>2016-07-17 21:45:32 +0200
commit751303359a105404fafd44c8b0721377ef95b04d (patch)
treef32e9a043e7295796cb86ffd0959208e334b8867 /src/util.h
parent... (diff)
downloadcoopgammad-751303359a105404fafd44c8b0721377ef95b04d.tar.gz
coopgammad-751303359a105404fafd44c8b0721377ef95b04d.tar.bz2
coopgammad-751303359a105404fafd44c8b0721377ef95b04d.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/util.h b/src/util.h
index 6eafcb4..eb98285 100644
--- a/src/util.h
+++ b/src/util.h
@@ -94,9 +94,8 @@ void msleep(unsigned ms);
/**
* Check whether a NUL-terminated string is encoded in UTF-8
*
- * @param string The string
- * @param allow_modified_nul Whether Modified UTF-8 is allowed, which allows a two-byte encoding for NUL
- * @return Zero if good, -1 on encoding error
+ * @param string The string
+ * @return Zero if good, -1 on encoding error
*/
GCC_ONLY(__attribute__((pure, nonnull)))
int verify_utf8(const char* restrict string);