• Matthias Clasen's avatar
    The following patch corrects some function attributes. (#61780) · 39e4c5af
    Matthias Clasen authored
    
            The following patch corrects some function attributes. (#61780)
    
            * glib/ghash.h (g_int_equal, g_int_hash): These are not const.
    
            * glib/glibintl.h (_glib_gettext): Add G_GNUC_FORMAT(1).
    
            * glib/gmacros.h: Use reserved symbols in function attribute macros.
    
            The following patch avoids manual printf()-format parsing
            if a C99-conforming vsnprintf() is available. (#55106)
    
            * acinclude.m4 (AC_FUNC_VSNPRINTF_C99): New macro to test for a
            C99 conforming vsnprintf.
    
            * configure.in: Use AC_FUNC_VSNPRINTF_C99.
    
            * glib/gmessages.c (g_printf_string_upper_bound): Use C99 vsnprintf().
    39e4c5af
ghash.h 3.85 KB