mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 08:58:54 +02:00
Add a G_GNUC_INTERNAL macro to mark function declarations as internal and
2004-08-02 Matthias Clasen <mclasen@redhat.com> * glib/gmacros.h: Add a G_GNUC_INTERNAL macro to mark function declarations as internal and avoid PLT indirections for them. (#145465, Arjan van de Ven) * glib/gunicodeprivate.h: * glib/gthreadinit.h: * glib/gmessages.h: * glib/gdebug.h: * glib/gconvert.c: Use G_GNUC_INTERNAL for _g_charset_get_aliases(), _g_debug_init(), _g_log_fallback_handler(), _g_mem_thread_init(), _g_messages_thread_init(), _g_convert_thread_init(), _g_rand_thread_init(), _g_main_thread_init(), _g_atomic_thread_init(), _g_mem_thread_private_init(), _g_messages_thread_private_init(), _g_utf8_normalize_wc() and _g_unichar_combining_class(). * glib/gatomic.c: Include gthreadinit.h here to see the declaration for _g_atomic_thread_init().
This commit is contained in:
committed by
Matthias Clasen
parent
76ce9fcb1b
commit
f1024215a4
@@ -53,7 +53,7 @@ typedef enum {
|
||||
GLIB_VAR gboolean _g_debug_initialized;
|
||||
GLIB_VAR guint _g_debug_flags;
|
||||
|
||||
void _g_debug_init ();
|
||||
void _g_debug_init () G_GNUC_INTERNAL;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user