From 82f4593a97f20deebb71cc7d624727cfe01f8c2c Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sun, 5 Dec 2004 19:28:27 +0000 Subject: mklibgcc.in (vis_hide): Add the prototype for the test. 2004-12-05 Andrew Pinski * mklibgcc.in (vis_hide): Add the prototype for the test. From-SVN: r91752 --- gcc/ChangeLog | 4 ++++ gcc/mklibgcc.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 23dc36f..2eceb2cb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-12-05 Andrew Pinski + + * mklibgcc.in (vis_hide): Add the prototype for the test. + 2004-12-05 Roger Sayle * c-typeck.c (c_finish_loop): Improve initial implementations diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in index 535420b..d103f36 100644 --- a/gcc/mklibgcc.in +++ b/gcc/mklibgcc.in @@ -99,7 +99,7 @@ if [ "$SHLIB_LINK" ]; then # overriding that with #pragmas. The dance with @ is to prevent # echo from seeing anything it might take for an option. echo "vis_hide := \$(strip \$(subst @,-,\\" - echo " \$(shell if echo 'void foo(void) {}' | \\" + echo " \$(shell if echo 'void foo(void); void foo(void) {}' | \\" echo " $gcc_compile -fvisibility=hidden -Werror \\" echo " -c -xc - -o /dev/null 2> /dev/null; \\" echo " then echo @fvisibility=hidden @DHIDE_EXPORTS; \\" -- cgit v1.1