diff options
author | Miguel de Icaza <miguel@gnome.org> | 2006-10-18 02:01:55 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2006-10-18 02:01:55 +0400 |
commit | b7bdf04ae3d1d2429d8b1e44334fd95b4fc5ceb3 (patch) | |
tree | 4a436a0bd1905eae4b23cb352231ade075424b42 /eglib | |
parent | ec9154451cff566db47f4894987a05a6c98d0103 (diff) |
2006-10-17 Miguel de Icaza <miguel@novell.com>
* src/glib.h (g_thread_init): Adding missing brace
(g_list_next): remove ; from the macro definition.
svn path=/trunk/mono/; revision=66762
Diffstat (limited to 'eglib')
-rw-r--r-- | eglib/ChangeLog | 5 | ||||
-rw-r--r-- | eglib/src/glib.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/eglib/ChangeLog b/eglib/ChangeLog index a5f5edfe602..406a294d976 100644 --- a/eglib/ChangeLog +++ b/eglib/ChangeLog @@ -1,5 +1,10 @@ 2006-10-17 Miguel de Icaza <miguel@novell.com> + * src/glib.h (g_thread_init): Adding missing brace + (g_list_next): remove ; from the macro definition. + +2006-10-17 Miguel de Icaza <miguel@novell.com> + * src/gutf8.c: internal methods * src/ghashtable.c: internal methods. diff --git a/eglib/src/glib.h b/eglib/src/glib.h index 1292e2d705c..1f793475ac1 100644 --- a/eglib/src/glib.h +++ b/eglib/src/glib.h @@ -308,7 +308,7 @@ struct _GList { GList *prev; }; -#define g_list_next(list) ((list) ? (((GList *) (list))->next) : NULL); +#define g_list_next(list) ((list) ? (((GList *) (list))->next) : NULL) GList *g_list_alloc (void); GList *g_list_append (GList *list, @@ -700,7 +700,7 @@ gboolean g_utf8_validate (const gchar *str, gssize max_len, const gchar ** * Empty thread functions, not used by eglib */ #define g_thread_supported() TRUE -#define g_thread_init(x) G_STMT_START { if (x != NULL) { g_error ("No vtable supported in g_thread_init"); } G_STMT_END +#define g_thread_init(x) G_STMT_START { if (x != NULL) { g_error ("No vtable supported in g_thread_init"); } } G_STMT_END #define GUINT16_SWAP_LE_BE(x) ((guint16) (((guint16) x) >> 8) | ((((guint16)(x)) & 0xff) << 8)) #define GUINT32_SWAP_LE_BE(x) ((guint32) \ |