[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix several "warning: no previous prototype for function"
From: |
Bruno Haible |
Subject: |
Fix several "warning: no previous prototype for function" |
Date: |
Sat, 05 Sep 2020 23:53:08 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-186-generic; KDE/5.18.0; x86_64; ; ) |
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 <bruno@clisp.org>
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 <bruno@clisp.org>
select: Fix "warning: no previous prototype for function".
* lib/select.c: Include <sys/select.h>.
0001-select-Fix-warning-no-previous-prototype-for-functio.patch
Description: Text Data
0002-Fix-several-warning-no-previous-prototype-for-functi.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fix several "warning: no previous prototype for function",
Bruno Haible <=