* string.h (cygwin_strchr): Make 'static inline' so that things will still work

when optimized.
This commit is contained in:
Christopher Faylor 2001-05-06 16:00:23 +00:00
parent 11ba5ef4d1
commit 2bfb966544
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sun May 6 11:55:40 2001 Christopher Faylor <cgf@cygnus.com>
* string.h (cygwin_strchr): Make 'static inline' so that things will
still work when optimized.
Sat May 5 01:04:11 2001 Christopher Faylor <cgf@cygnus.com>
* exceptions.cc (handle_exceptions): Vastly increase test for exception

View File

@ -19,7 +19,7 @@ extern "C" {
#undef strchr
#define strchr cygwin_strchr
extern inline __stdcall char *
static inline __stdcall char *
strchr (const char *s, int c)
{
register char * res;