Comparison

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
comparison
equal deleted inserted replaced
10005:409ff72c501c 10006:5a5fd234dec7
328 /* COMPAT */ 328 /* COMPAT */
329 #define USPOOF_CONFUSABLE (USPOOF_SINGLE_SCRIPT_CONFUSABLE | USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_WHOLE_SCRIPT_CONFUSABLE) 329 #define USPOOF_CONFUSABLE (USPOOF_SINGLE_SCRIPT_CONFUSABLE | USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_WHOLE_SCRIPT_CONFUSABLE)
330 #endif 330 #endif
331 331
332 /* initialize global ICU stringprep profiles */ 332 /* initialize global ICU stringprep profiles */
333 void init_icu() { 333 void init_icu(void) {
334 UErrorCode err = U_ZERO_ERROR; 334 UErrorCode err = U_ZERO_ERROR;
335 utrace_setLevel(UTRACE_VERBOSE); 335 utrace_setLevel(UTRACE_VERBOSE);
336 icu_nameprep = usprep_openByType(USPREP_RFC3491_NAMEPREP, &err); 336 icu_nameprep = usprep_openByType(USPREP_RFC3491_NAMEPREP, &err);
337 icu_nodeprep = usprep_openByType(USPREP_RFC3920_NODEPREP, &err); 337 icu_nodeprep = usprep_openByType(USPREP_RFC3920_NODEPREP, &err);
338 icu_resourceprep = usprep_openByType(USPREP_RFC3920_RESOURCEPREP, &err); 338 icu_resourceprep = usprep_openByType(USPREP_RFC3920_RESOURCEPREP, &err);