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)
This commit is contained in:
Matthias Clasen 2004-11-01 18:47:12 +00:00 committed by Matthias Clasen
parent 938f1a9a5a
commit 286d84fcb0
12 changed files with 57 additions and 7 deletions

View File

@ -1,3 +1,13 @@
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.

View File

@ -1,3 +1,13 @@
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.

View File

@ -1,3 +1,13 @@
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.

View File

@ -1,3 +1,13 @@
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.

View File

@ -1,3 +1,13 @@
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.

View File

@ -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;

View File

@ -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
}

View File

@ -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);

View File

@ -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*

View File

@ -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);

View File

@ -135,7 +135,7 @@ input_callback (GIOChannel *source,
}
static void
create_child ()
create_child (void)
{
int pid;
GIOChannel *in_channels[2];

View File

@ -134,7 +134,7 @@ input_callback (GIOChannel *source,
}
static void
create_child ()
create_child (void)
{
int pid;
GIOChannel *in_channels[2];