The following patch corrects some function attributes. (#61780)
authorMatthias Clasen <matthiasc@src.gnome.org>
Thu, 6 Dec 2001 22:37:05 +0000 (22:37 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 6 Dec 2001 22:37:05 +0000 (22:37 +0000)
commit39e4c5afe8a4f4953e3a2905a51aeaa41a91b598
tree7d812e03b85bc90d73bdc4656c9952f43e74ec2f
parent964ebaf18c4a16ecc650a21a9d95df18a3c32c37
The following patch corrects some function attributes. (#61780)

        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().
14 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
acinclude.m4
configure.in
glib/ghash.h
glib/glibintl.h
glib/gmacros.h
glib/gmessages.c