aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-10-22 17:00:43 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-10-22 17:00:43 +0000
commitb056ad1c6848131a5dd7e38c46cfe75934e9424b (patch)
tree2d23711173c3ac49a8f30ddb2a3dacc5b13467e9
parent71f6a8e2e69c2e8625a18afa9318638e87a6197d (diff)
downloadgcc-b056ad1c6848131a5dd7e38c46cfe75934e9424b.zip
gcc-b056ad1c6848131a5dd7e38c46cfe75934e9424b.tar.gz
gcc-b056ad1c6848131a5dd7e38c46cfe75934e9424b.tar.bz2
splay-tree.c (splay_tree_foreach_helper): Make definition static to match prototype.
* splay-tree.c (splay_tree_foreach_helper): Make definition static to match prototype. From-SVN: r23230
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/splay-tree.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 655edb8..e533323 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,8 @@
+Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * splay-tree.c (splay_tree_foreach_helper): Make definition static
+ to match prototype.
+
1998-10-21 Mark Mitchell <mark@markmitchell.com>
* splay-tree.c: New file.
diff --git a/libiberty/splay-tree.c b/libiberty/splay-tree.c
index ed48116..22dd267 100644
--- a/libiberty/splay-tree.c
+++ b/libiberty/splay-tree.c
@@ -195,7 +195,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;