sibcall-3.c (recurser_void1, [...]): Make them static.
authorKazu Hirata <kazu@cs.umass.edu>
Sun, 7 Mar 2004 00:59:25 +0000 (00:59 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sun, 7 Mar 2004 00:59:25 +0000 (00:59 +0000)
* gcc.dg/sibcall-3.c (recurser_void1, recurser_void2): Make
them static.
* gcc.dg/sibcall-4.c (recurser_void1, recurser_void2): Likewise.

From-SVN: r79042

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/sibcall-3.c
gcc/testsuite/gcc.dg/sibcall-4.c

index a89e534c58bc8dd5a95d1092f8e4db99d0a916e2..d80f1cf00c8cb76db747cad91ff0fd49d54b2b2c 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-06  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * gcc.dg/sibcall-3.c (recurser_void1, recurser_void2): Make
+       them static.
+       * gcc.dg/sibcall-4.c (recurser_void1, recurser_void2): Likewise.
+
 2004-03-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        PR c/14465
index 4806e15ee897e30d5c178f54b7f209ed01cacfa9..d0908a2289c91095fc9f7203b2c476f34f8739af 100644 (file)
@@ -13,8 +13,8 @@
    (except targets where the test does not work due to the return address
    not saved on the regular stack).  */
 
-extern void recurser_void1 (int);
-extern void recurser_void2 (int);
+static void recurser_void1 (int);
+static void recurser_void2 (int);
 extern void track (int);
 
 int main ()
@@ -27,7 +27,7 @@ int main ()
    reasonably sure is to make them have the same contents (regarding the
    n tests).  */
 
-void __attribute__((noinline))
+static void __attribute__((noinline))
 recurser_void1 (int n)
 {
   if (n == 0 || n == 7 || n == 8)
@@ -39,7 +39,7 @@ recurser_void1 (int n)
   recurser_void2 (n + 1);
 }
 
-void __attribute__((noinline))
+static void __attribute__((noinline))
 recurser_void2 (int n)
 {
   if (n == 0 || n == 7 || n == 8)
index 85b18a9e3108961f9bed773e6be0dda241f8ac96..3980879536cde651c62794b730678afd4203d451 100644 (file)
@@ -13,8 +13,8 @@
    (except targets where the test does not work due to the return address
    not saved on the regular stack).  */
 
-extern void recurser_void1 (void);
-extern void recurser_void2 (void);
+static void recurser_void1 (void);
+static void recurser_void2 (void);
 extern void track (void);
 
 int n = 0;
@@ -28,7 +28,7 @@ int main ()
    reasonably sure is to make them have the same contents (regarding the
    n tests).  */
 
-void __attribute__((noinline))
+static void __attribute__((noinline))
 recurser_void1 (void)
 {
   if (n == 0 || n == 7 || n == 8)
@@ -40,7 +40,7 @@ recurser_void1 (void)
   recurser_void2 ();
 }
 
-void __attribute__((noinline))
+static void __attribute__((noinline))
 recurser_void2 (void)
 {
   if (n == 0 || n == 7 || n == 8)