* gcc.c-torture/execute/string-opt-1.c: Make stub functions static.
* gcc.c-torture/execute/string-opt-2.c: Likewise.
* gcc.c-torture/execute/string-opt-3.c: Likewise.
* gcc.c-torture/execute/string-opt-4.c: Likewise.
From-SVN: r37349
+2000-11-09 Richard Henderson <rth@redhat.com>
+
+ * gcc.c-torture/execute/string-opt-1.c: Make stub functions static.
+ * gcc.c-torture/execute/string-opt-2.c: Likewise.
+ * gcc.c-torture/execute/string-opt-3.c: Likewise.
+ * gcc.c-torture/execute/string-opt-4.c: Likewise.
+
2000-11-09 Geoffrey Keating <geoffk@redhat.com>
* gcc.c-torture/compile/20001109-1.c: New test.
/* When optimizing, all the above cases should be transformed into
something else. So any remaining calls to the original function
should abort. */
-char *
+static char *
strstr(const char *s1, const char *s2)
{
abort();
/* When optimizing, all the above cases should be transformed into
something else. So any remaining calls to the original function
should abort. */
-char *
+static char *
strpbrk(const char *s1, const char *s2)
{
abort();
/* When optimizing, all the above cases should be transformed into
something else. So any remaining calls to the original function
should abort. */
-__SIZE_TYPE__
+static __SIZE_TYPE__
strlen (const char *s)
{
abort ();
}
-int
+static int
strcmp (const char *s1, const char *s2)
{
abort ();
}
-char *
+static char *
strrchr (const char *s, int c)
{
abort ();
/* When optimizing, all the above cases should be transformed into
something else. So any remaining calls to the original function
should abort. */
-char *
+static char *
strchr (const char *s, int c)
{
abort ();