Apply a patch to fix sparse warnings. (#154696, Kjartan Maraas)

2004-10-23  Matthias Clasen  <mclasen@redhat.com>

	* glib/gasyncqueue.c, glib/gatomic.c, glib/gdate.c,
	glib/giochannel.c, glib/gmain.c, glib/gspawn.c,
	glib/libcharset/localcharset.c: Apply a patch to fix
	sparse warnings. (#154696, Kjartan Maraas)
This commit is contained in:
Matthias Clasen
2004-10-24 01:37:42 +00:00
committed by Matthias Clasen
parent 034fef999e
commit 2e7514d052
12 changed files with 35 additions and 10 deletions

View File

@@ -711,7 +711,7 @@ g_main_context_init_pipe (GMainContext *context)
}
void
_g_main_thread_init ()
_g_main_thread_init (void)
{
GSList *curr = main_contexts_without_pipe;
while (curr)
@@ -732,7 +732,7 @@ _g_main_thread_init ()
* Return value: the new #GMainContext
**/
GMainContext *
g_main_context_new ()
g_main_context_new (void)
{
GMainContext *context = g_new0 (GMainContext, 1);