aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-08 16:20:35 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-03-08 16:20:35 +0000
commit1bb1155897559e3f2f94507ca0dceb1304be319c (patch)
tree7efa1cbbc053d952e340038f06d58622e0b86fe1
parent392c64a09029f3c6bd6deb3ffc5edbca68bd38b2 (diff)
downloadgcc-1bb1155897559e3f2f94507ca0dceb1304be319c.zip
gcc-1bb1155897559e3f2f94507ca0dceb1304be319c.tar.gz
gcc-1bb1155897559e3f2f94507ca0dceb1304be319c.tar.bz2
* stor-layout.c (lang_adjust_rli): Make it static.
From-SVN: r96112
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/stor-layout.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3417d33..4999fa4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -11,6 +11,8 @@
* sched-deps.c (cache_size): Make it static.
+ * stor-layout.c (lang_adjust_rli): Make it static.
+
2005-03-08 Julian Brown <julian@codesourcery.com>
* config/elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAK
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index f364dfa..2814622 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -485,7 +485,7 @@ relayout_decl (tree decl)
/* Hook for a front-end function that can modify the record layout as needed
immediately before it is finalized. */
-void (*lang_adjust_rli) (record_layout_info) = 0;
+static void (*lang_adjust_rli) (record_layout_info) = 0;
void
set_lang_adjust_rli (void (*f) (record_layout_info))