* string.h (cygwin_strchr): Make 'static inline' so that things will still work
when optimized.
This commit is contained in:
parent
11ba5ef4d1
commit
2bfb966544
|
@ -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>
|
Sat May 5 01:04:11 2001 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
* exceptions.cc (handle_exceptions): Vastly increase test for exception
|
* exceptions.cc (handle_exceptions): Vastly increase test for exception
|
||||||
|
|
|
@ -19,7 +19,7 @@ extern "C" {
|
||||||
|
|
||||||
#undef strchr
|
#undef strchr
|
||||||
#define strchr cygwin_strchr
|
#define strchr cygwin_strchr
|
||||||
extern inline __stdcall char *
|
static inline __stdcall char *
|
||||||
strchr (const char *s, int c)
|
strchr (const char *s, int c)
|
||||||
{
|
{
|
||||||
register char * res;
|
register char * res;
|
||||||
|
|
Loading…
Reference in New Issue