From: Bruno Haible Date: Sat, 3 Jun 2023 12:53:54 +0000 (+0200) Subject: Silence "inlining failed" warnings. X-Git-Tag: v0.22~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5b9b7ce7b2270e5626cc4d945eda49a0975babd;p=thirdparty%2Fgettext.git Silence "inlining failed" warnings. * gettext-tools/src/read-stringtable.c (comment_line_end): Remove 'inline' marker. * gettext-tools/src/x-scheme.c (is_other_number_syntax): Likewise. --- diff --git a/gettext-tools/src/read-stringtable.c b/gettext-tools/src/read-stringtable.c index 7a690dc41..5a87c0de6 100644 --- a/gettext-tools/src/read-stringtable.c +++ b/gettext-tools/src/read-stringtable.c @@ -1,5 +1,5 @@ /* Reading NeXTstep/GNUstep .strings files. - Copyright (C) 2003, 2005-2007, 2009, 2019-2020 Free Software Foundation, Inc. + Copyright (C) 2003, 2005-2007, 2009, 2019-2020, 2023 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This program is free software: you can redistribute it and/or modify @@ -513,7 +513,7 @@ comment_add (int c) buffer[buflen++] = c; } -static inline void +static void comment_line_end (size_t chars_to_remove, bool test_for_fuzzy_msgstr) { char *line; diff --git a/gettext-tools/src/x-scheme.c b/gettext-tools/src/x-scheme.c index f1ddfa50d..d27d95886 100644 --- a/gettext-tools/src/x-scheme.c +++ b/gettext-tools/src/x-scheme.c @@ -296,7 +296,7 @@ is_integer_syntax (const char *str, int len, int radix) If unconstrained is false, only real numbers are accepted; otherwise, complex numbers are accepted as well. Taken from guile-1.6.4/libguile/numbers.c:scm_istr2flo(). */ -static inline bool +static bool is_other_number_syntax (const char *str, int len, int radix, bool unconstrained) { const char *p = str;