diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-08-02 15:34:30 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-08-02 15:34:30 +0000 |
commit | f1024215a4c13971a1778334b5093273f22e53b4 (patch) | |
tree | 746b15393dbfbbff78fc3ad2b459725982fc3c26 /glib/gdebug.h | |
parent | 76ce9fcb1b4e723c988f08e24a2df485a22abc34 (diff) | |
download | glib-f1024215a4c13971a1778334b5093273f22e53b4.tar.gz |
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().
Diffstat (limited to 'glib/gdebug.h')
-rw-r--r-- | glib/gdebug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gdebug.h b/glib/gdebug.h index d06b8b1a6..dda021320 100644 --- a/glib/gdebug.h +++ b/glib/gdebug.h @@ -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 } |