mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 17:38:54 +02:00
Ok, I'm a moron. When I originally implemented ENABLE_GC_FRIENDLY, I
2000-12-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gslist.c, glist.c: Ok, I'm a moron. When I originally implemented ENABLE_GC_FRIENDLY, I forgot to include config.h into the affected files. Now that Alex did that for those two, inevitable typos surfaced, which are now fixed. * garray.c, ghash.c, gqueue.c, gtree.c: Include config.h as well, as ENABLE_GC_FRIENDLY should be known.
This commit is contained in:
committed by
Sebastian Wilhelmi
parent
c7f80dbb13
commit
2fb47703e2
@@ -28,6 +28,10 @@
|
||||
* MT safe
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "glib.h"
|
||||
|
@@ -28,6 +28,10 @@
|
||||
* MT safe
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "glib.h"
|
||||
|
||||
|
||||
|
@@ -165,8 +165,8 @@ g_list_free (GList *list)
|
||||
last_node->prev = NULL;
|
||||
last_node = last_node->next;
|
||||
}
|
||||
last_node->data = NULL
|
||||
last_node->prev = NULL
|
||||
last_node->data = NULL;
|
||||
last_node->prev = NULL;
|
||||
#else /* !ENABLE_GC_FRIENDLY */
|
||||
list->data = list->next;
|
||||
#endif /* ENABLE_GC_FRIENDLY */
|
||||
|
@@ -24,6 +24,10 @@
|
||||
* MT safe
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "glib.h"
|
||||
|
||||
|
||||
|
@@ -164,7 +164,7 @@ g_slist_free (GSList *list)
|
||||
last_node->data = NULL;
|
||||
last_node = last_node->next;
|
||||
}
|
||||
last_node->data = NULL
|
||||
last_node->data = NULL;
|
||||
#else /* !ENABLE_GC_FRIENDLY */
|
||||
list->data = list->next;
|
||||
#endif /* ENABLE_GC_FRIENDLY */
|
||||
|
@@ -28,6 +28,10 @@
|
||||
* MT safe
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "glib.h"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user