]> gcc.gnu.org Git - gcc.git/blobdiff - libiberty/splay-tree.c
choose-temp.c: Don't check IN_GCC anymore.
[gcc.git] / libiberty / splay-tree.c
index ed48116c0633a50b1f80f47a90117a9f53450ac0..cc766960d76311d8a7e69aae6f8666d47260b23b 100644 (file)
      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, 
@@ -195,7 +201,7 @@ splay_tree_splay (sp, key)
    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;
This page took 0.029989 seconds and 5 git commands to generate.