diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-11-01 18:47:12 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-11-01 18:47:12 +0000 |
commit | 286d84fcb015da87985c6d2d996d76960322b36d (patch) | |
tree | 0da8d7393005b5fdf944869ab3569d95b4be778c | |
parent | 938f1a9a5ae4e9ee61a2779406cb319fb2299535 (diff) | |
download | glib-286d84fcb015da87985c6d2d996d76960322b36d.tar.gz |
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)
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 10 | ||||
-rw-r--r-- | ChangeLog.pre-2-12 | 10 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 10 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 10 | ||||
-rw-r--r-- | glib/gconvert.c | 2 | ||||
-rw-r--r-- | glib/gdebug.h | 2 | ||||
-rw-r--r-- | glib/gutils.c | 2 | ||||
-rw-r--r-- | gobject/gtype.c | 2 | ||||
-rw-r--r-- | gthread/gthread-posix.c | 2 | ||||
-rw-r--r-- | tests/timeloop-closure.c | 2 | ||||
-rw-r--r-- | tests/timeloop.c | 2 |
12 files changed, 57 insertions, 7 deletions
@@ -1,5 +1,15 @@ 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. Handle conflicts between options in different groups. (#156808) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index b4eac7363..e53efb33c 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,15 @@ 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. Handle conflicts between options in different groups. (#156808) diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index b4eac7363..e53efb33c 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,5 +1,15 @@ 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. Handle conflicts between options in different groups. (#156808) diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index b4eac7363..e53efb33c 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,15 @@ 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. Handle conflicts between options in different groups. (#156808) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index b4eac7363..e53efb33c 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,15 @@ 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. Handle conflicts between options in different groups. (#156808) diff --git a/glib/gconvert.c b/glib/gconvert.c index 6915893f0..4566f88d7 100644 --- a/glib/gconvert.c +++ b/glib/gconvert.c @@ -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; diff --git a/glib/gdebug.h b/glib/gdebug.h index dda021320..a77e29442 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 () G_GNUC_INTERNAL; +void _g_debug_init (void) G_GNUC_INTERNAL; #ifdef __cplusplus } diff --git a/glib/gutils.c b/glib/gutils.c index 3a9854312..fef336112 100644 --- a/glib/gutils.c +++ b/glib/gutils.c @@ -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); diff --git a/gobject/gtype.c b/gobject/gtype.c index cea390087..9a5753b00 100644 --- a/gobject/gtype.c +++ b/gobject/gtype.c @@ -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* diff --git a/gthread/gthread-posix.c b/gthread/gthread-posix.c index 31dff7115..0dcf6bb70 100644 --- a/gthread/gthread-posix.c +++ b/gthread/gthread-posix.c @@ -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); diff --git a/tests/timeloop-closure.c b/tests/timeloop-closure.c index 176b8109f..ecbe29087 100644 --- a/tests/timeloop-closure.c +++ b/tests/timeloop-closure.c @@ -135,7 +135,7 @@ input_callback (GIOChannel *source, } static void -create_child () +create_child (void) { int pid; GIOChannel *in_channels[2]; diff --git a/tests/timeloop.c b/tests/timeloop.c index 4f0a5351d..457e74de7 100644 --- a/tests/timeloop.c +++ b/tests/timeloop.c @@ -134,7 +134,7 @@ input_callback (GIOChannel *source, } static void -create_child () +create_child (void) { int pid; GIOChannel *in_channels[2]; |