aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-05-13 11:30:45 +0200
committerKim Alvefur <zash@zash.se>2019-05-13 11:30:45 +0200
commit63c03ce6ef0cdb5aa5640e1e71069ec8a1396247 (patch)
treeb2c506424807bcfb1a91d0c5e3a1a00f220735ff /util-src
parenta9d08911dc2534d7cbfc898c7a0b4fb3fab88cf4 (diff)
downloadprosody-63c03ce6ef0cdb5aa5640e1e71069ec8a1396247.tar.gz
prosody-63c03ce6ef0cdb5aa5640e1e71069ec8a1396247.zip
util.encodings: Declare absence of arguments [-Wstrict-prototypes]
Diffstat (limited to 'util-src')
-rw-r--r--util-src/encodings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/encodings.c b/util-src/encodings.c
index 3b7f322d..5e7032cf 100644
--- a/util-src/encodings.c
+++ b/util-src/encodings.c
@@ -330,7 +330,7 @@ USpoofChecker *icu_spoofcheck;
#endif
/* initialize global ICU stringprep profiles */
-void init_icu() {
+void init_icu(void) {
UErrorCode err = U_ZERO_ERROR;
utrace_setLevel(UTRACE_VERBOSE);
icu_nameprep = usprep_openByType(USPREP_RFC3491_NAMEPREP, &err);