]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Silence "inlining failed" warnings.
authorBruno Haible <bruno@clisp.org>
Sat, 3 Jun 2023 12:53:54 +0000 (14:53 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 4 Jun 2023 13:54:10 +0000 (15:54 +0200)
* gettext-tools/src/read-stringtable.c (comment_line_end): Remove 'inline'
marker.
* gettext-tools/src/x-scheme.c (is_other_number_syntax): Likewise.

gettext-tools/src/read-stringtable.c
gettext-tools/src/x-scheme.c

index 7a690dc41d8c28af2431d98301515475d20bc462..5a87c0de6cad4a9ec5f45f93577ca224c257a3fc 100644 (file)
@@ -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 <bruno@clisp.org>, 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;
index f1ddfa50d96b77c01240003f484e59634bbbd32f..d27d95886b4093987f6d773249be760d8f6f8f90 100644 (file)
@@ -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;