xref: /openbsd-src/gnu/usr.bin/gcc/gcc/fixinc/tests/base/ansi/string.h (revision c87b03e512fc05ed6e0222f6fb0ae86264b1d05b)
1 /*  DO NOT EDIT THIS FILE.
2 
3     It has been auto-edited by fixincludes from:
4 
5 	"fixinc/tests/inc/ansi/string.h"
6 
7     This had to be done to correct non-standard usages in the
8     original, manufacturer supplied header file.  */
9 
10 
11 
12 #if defined( SCO_STRING_CHECK )
13 #ifndef __GNUC__
14 extern "C++" {
memchr(void * __1,int __2,size_t __3)15 inline void *memchr(void *__1, int __2, size_t __3)
16 	{ return (void *)memchr((const void *)__1, __2, __3); }
strstr(char * __1,const char * __2)17 inline char *strstr(char *__1, const char *__2)
18 	{ return (char *)strstr((const char *)__1, __2); }
19 }
20 #endif /* ! __GNUC__ */
21 
22 #endif  /* SCO_STRING_CHECK */
23