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
commite81589a45be00cb02e8577d3eff16a358a3f9080 (patch)
treeb2c506424807bcfb1a91d0c5e3a1a00f220735ff /util-src
parentb61b308c569dda7ca5e214466503e9cc7ea4a7e7 (diff)
downloadprosody-e81589a45be00cb02e8577d3eff16a358a3f9080.tar.gz
prosody-e81589a45be00cb02e8577d3eff16a358a3f9080.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);