summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-22 17:00:43 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-22 17:00:43 +0000
commite61da89da7d0b6a51527e44217df841aec5c8638 (patch)
tree2d23711173c3ac49a8f30ddb2a3dacc5b13467e9
parented1c0cd596bd87de7cc1f3b670534bfc8b00cabe (diff)
downloadgcc-e61da89da7d0b6a51527e44217df841aec5c8638.tar.gz
* splay-tree.c (splay_tree_foreach_helper): Make definition static
to match prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23230 138bc75d-0d04-0410-961f-82ee72b054a4
-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 655edb86f60..e533323d7fb 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 ed48116c063..22dd267f573 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;