Commit 286d84fc authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

glib/gdebug.h glib/gutils.c gobject/gtype.c gthread/gthread-posix.c

2004-11-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/gconvert.c:
	* glib/gdebug.h
	* glib/gutils.c
	* gobject/gtype.c
	* gthread/gthread-posix.c
	* tests/timeloop-closure.c
	* tests/timeloop.c: Fix sparse warnings.  (#157014, Kjartan Maraas)
parent 938f1a9a
2004-11-01 Matthias Clasen <mclasen@redhat.com>
* glib/gconvert.c:
* glib/gdebug.h
* glib/gutils.c
* gobject/gtype.c
* gthread/gthread-posix.c
* tests/timeloop-closure.c
* tests/timeloop.c: Fix sparse warnings. (#157014, Kjartan Maraas)
2004-11-01 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c: Documentation updates.
......
2004-11-01 Matthias Clasen <mclasen@redhat.com>
* glib/gconvert.c:
* glib/gdebug.h
* glib/gutils.c
* gobject/gtype.c
* gthread/gthread-posix.c
* tests/timeloop-closure.c
* tests/timeloop.c: Fix sparse warnings. (#157014, Kjartan Maraas)
2004-11-01 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c: Documentation updates.
......
2004-11-01 Matthias Clasen <mclasen@redhat.com>
* glib/gconvert.c:
* glib/gdebug.h
* glib/gutils.c
* gobject/gtype.c
* gthread/gthread-posix.c
* tests/timeloop-closure.c
* tests/timeloop.c: Fix sparse warnings. (#157014, Kjartan Maraas)
2004-11-01 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c: Documentation updates.
......
2004-11-01 Matthias Clasen <mclasen@redhat.com>
* glib/gconvert.c:
* glib/gdebug.h
* glib/gutils.c
* gobject/gtype.c
* gthread/gthread-posix.c
* tests/timeloop-closure.c
* tests/timeloop.c: Fix sparse warnings. (#157014, Kjartan Maraas)
2004-11-01 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c: Documentation updates.
......
2004-11-01 Matthias Clasen <mclasen@redhat.com>
* glib/gconvert.c:
* glib/gdebug.h
* glib/gutils.c
* gobject/gtype.c
* gthread/gthread-posix.c
* tests/timeloop-closure.c
* tests/timeloop.c: Fix sparse warnings. (#157014, Kjartan Maraas)
2004-11-01 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c: Documentation updates.
......
......@@ -1784,7 +1784,7 @@ g_uri_list_extract_uris (const gchar *uri_list)
result = g_new (gchar *, n_uris + 1);
result[n_uris--] = 0;
result[n_uris--] = NULL;
for (u = uris; u; u = u->next)
result[n_uris--] = u->data;
......
......@@ -53,7 +53,7 @@ typedef enum {
GLIB_VAR gboolean _g_debug_initialized;
GLIB_VAR guint _g_debug_flags;
void _g_debug_init () G_GNUC_INTERNAL;
void _g_debug_init (void) G_GNUC_INTERNAL;
#ifdef __cplusplus
}
......
......@@ -1846,7 +1846,7 @@ static gchar **languages = NULL;
* Since: 2.6
**/
G_CONST_RETURN gchar * G_CONST_RETURN *
g_get_language_names ()
g_get_language_names (void)
{
G_LOCK (g_utils_global);
......
......@@ -310,7 +310,7 @@ GTypeDebugFlags _g_type_debug_flags = 0;
/* --- type nodes --- */
static GHashTable *static_type_nodes_ht = NULL;
static TypeNode *static_fundamental_type_nodes[(G_TYPE_FUNDAMENTAL_MAX >> G_TYPE_FUNDAMENTAL_SHIFT) + 1] = { 0, };
static TypeNode *static_fundamental_type_nodes[(G_TYPE_FUNDAMENTAL_MAX >> G_TYPE_FUNDAMENTAL_SHIFT) + 1] = { NULL, };
static GType static_fundamental_next = G_TYPE_RESERVED_USER_FIRST;
static inline TypeNode*
......
......@@ -122,7 +122,7 @@ static gulong g_thread_min_stack_size = 0;
#if defined(_SC_THREAD_STACK_MIN) || defined (HAVE_PRIORITIES)
#define HAVE_G_THREAD_IMPL_INIT
static void
g_thread_impl_init()
g_thread_impl_init(void)
{
#ifdef _SC_THREAD_STACK_MIN
g_thread_min_stack_size = MAX (sysconf (_SC_THREAD_STACK_MIN), 0);
......
......@@ -135,7 +135,7 @@ input_callback (GIOChannel *source,
}
static void
create_child ()
create_child (void)
{
int pid;
GIOChannel *in_channels[2];
......
......@@ -134,7 +134,7 @@ input_callback (GIOChannel *source,
}
static void
create_child ()
create_child (void)
{
int pid;
GIOChannel *in_channels[2];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment