diff options
Diffstat (limited to 'newlib/libc/string/strcasestr.c')
-rw-r--r-- | newlib/libc/string/strcasestr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/newlib/libc/string/strcasestr.c b/newlib/libc/string/strcasestr.c index 1bde1cdbf..8fff00b00 100644 --- a/newlib/libc/string/strcasestr.c +++ b/newlib/libc/string/strcasestr.c @@ -96,8 +96,9 @@ QUICKREF * Find the first occurrence of find in s, ignore case. */ char * -strcasestr(s, find) - const char *s, *find; +_DEFUN (strcasestr, (s, find), + _CONST char *s _AND + _CONST char *find) { #if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__) |