diff options
author | DJ Delorie <dj@redhat.com> | 2003-04-15 21:29:34 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2003-04-15 21:29:34 +0000 |
commit | 1ea16ec5b465e30a034cba7bae02ccb0eac546fd (patch) | |
tree | ac013c05bb844fe88c352ed281537b54a7288f76 /libiberty/strstr.c | |
parent | bb32582095610c5d98aa6285bfe92a7cf52b5047 (diff) | |
download | gdb-1ea16ec5b465e30a034cba7bae02ccb0eac546fd.zip gdb-1ea16ec5b465e30a034cba7bae02ccb0eac546fd.tar.gz gdb-1ea16ec5b465e30a034cba7bae02ccb0eac546fd.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/strstr.c')
-rw-r--r-- | libiberty/strstr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/strstr.c b/libiberty/strstr.c index 470e04b..a059c7f 100644 --- a/libiberty/strstr.c +++ b/libiberty/strstr.c @@ -27,8 +27,8 @@ strstr (s1, s2) register char *p = s1; extern char *strchr (); extern int strncmp (); -#if __GNUC__==2 - extern __SIZE_TYPE__ strlen (); +#if __GNUC__ >= 2 + extern __SIZE_TYPE__ strlen (const char *); #endif register int len = strlen (s2); |