Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-05-06 20:00:23 +0400
committerChristopher Faylor <me@cgf.cx>2001-05-06 20:00:23 +0400
commit2bfb966544a9aff299cf173b62443853078100e5 (patch)
tree755dcded301cb52eb116d1171aec04c9224d47f9 /winsup/cygwin/string.h
parent11ba5ef4d16998de441aea84a9ea6644b8036703 (diff)
* string.h (cygwin_strchr): Make 'static inline' so that things will still work
when optimized.
Diffstat (limited to 'winsup/cygwin/string.h')
-rw-r--r--winsup/cygwin/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/string.h b/winsup/cygwin/string.h
index 93f0c9001..84dc14cb7 100644
--- a/winsup/cygwin/string.h
+++ b/winsup/cygwin/string.h
@@ -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;