mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Add private prototype for g_thread_init_glib()
This function was never put in a header and was only used internally from libgthread, but we should keep the symbol around to avoid triggering any false-positives on ABI checkers. For -Wmissing-prototypes compatibility with this unusual case, we should add a private prototype in the .c file just before.
This commit is contained in:
parent
09429e2c82
commit
3eec796b18
@ -192,6 +192,7 @@ g_thread_get_initialized (void)
|
||||
}
|
||||
|
||||
/* We need this for ABI compatibility */
|
||||
void g_thread_init_glib (void);
|
||||
void g_thread_init_glib (void) { }
|
||||
|
||||
/* Internal variables {{{1 */
|
||||
|
Loading…
Reference in New Issue
Block a user