Lewis, Harry R. and Denenberg, Larry. Data Structures and Their
Algorithms. Harper-Collins, Inc. 1991. */
-#ifndef IN_GCC
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
#include "libiberty.h"
-#endif /* IN_GCC */
#include "splay-tree.h"
static void splay_tree_delete_helper PARAMS((splay_tree,
returns a non-zero value, the iteration ceases immediately, and the
value is returned. Otherwise, this function returns 0. */
-int
+static int
splay_tree_foreach_helper (sp, node, fn, data)
splay_tree sp;
splay_tree_node node;