diff options
Diffstat (limited to 'contrib/binutils/libiberty/strstr.c')
-rw-r--r-- | contrib/binutils/libiberty/strstr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/binutils/libiberty/strstr.c b/contrib/binutils/libiberty/strstr.c index 470e04b..a059c7f 100644 --- a/contrib/binutils/libiberty/strstr.c +++ b/contrib/binutils/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); |