Building libunistring with clang, I see these warnings: lib/unicase/locale-languages.h(99,1): warning: no previous prototype for function 'uc_locale_languages_lookup' [-Wmissing-prototypes] lib/uninorm/composition-table.h(57,1): warning: no previous prototype for function 'gl_uninorm_compose_lookup' [-Wmissing-prototypes] tests/select.c(264,1): warning: no previous prototype for function 'rpl_select' [-Wmissing-prototypes] unictype/bidi_byname.gperf(83,1): warning: no previous prototype for function 'uc_bidi_class_lookup' [-Wmissing-prototypes] unictype/categ_byname.gperf(74,1): warning: no previous prototype for function 'uc_general_category_lookup' [-Wmissing-prototypes] unictype/combiningclass_byname.gperf(65,1): warning: no previous prototype for function 'uc_combining_class_lookup' [-Wmissing-prototypes] unictype/joininggroup_byname.gperf(19,1): warning: no previous prototype for function 'uc_joining_group_lookup' [-Wmissing-prototypes] unictype/joiningtype_byname.gperf(24,1): warning: no previous prototype for function 'uc_joining_type_lookup' [-Wmissing-prototypes] unictype/pr_byname.gperf(100,1): warning: no previous prototype for function 'uc_property_lookup' [-Wmissing-prototypes] unictype/scripts_byname.gperf(148,1): warning: no previous prototype for function 'uc_script_lookup' [-Wmissing-prototypes] These two patches fix these warnings. 2020-09-05 Bruno Haible Fix several "warning: no previous prototype for function". * modules/unicase/locale-language (Makefile.am): Add a 'static' keyword in front of the declaration of the lookup function in unicase/locale-languages.h. * modules/unictype/bidiclass-byname (Makefile.am): Likewise in unictype/bidi_byname.h. * modules/unictype/category-byname (Makefile.am): Likewise in unictype/categ_byname.h. * modules/unictype/combining-class-byname (Makefile.am): Likewise in unictype/combiningclass_byname.h. * modules/unictype/joininggroup-byname (Makefile.am): Likewise in unictype/joininggroup_byname.h. * modules/unictype/joiningtype-byname (Makefile.am): Likewise in unictype/joiningtype_byname.h. * modules/unictype/property-byname (Makefile.am): Likewise in unictype/pr_byname.h. * modules/unictype/scripts (Makefile.am): Likewise in unictype/scripts_byname.h. * modules/uninorm/composition (Makefile.am): Likewise in uninorm/composition-table.h. 2020-09-05 Bruno Haible select: Fix "warning: no previous prototype for function". * lib/select.c: Include .