Diff

util-src/encodings.c @ 10006:5a5fd234dec7

util.encodings: Declare absence of arguments [-Wstrict-prototypes]
author Kim Alvefur <zash@zash.se>
date Mon, 13 May 2019 11:30:45 +0200
parent 9979:b06f6ff878ee
child 10261:010c67532ed0
line wrap: on
line diff
--- a/util-src/encodings.c	Mon May 13 10:03:46 2019 +0100
+++ b/util-src/encodings.c	Mon May 13 11:30:45 2019 +0200
@@ -330,7 +330,7 @@
 #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);