aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/string.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-05-06 16:00:23 +0000
committerChristopher Faylor <me@cgf.cx>2001-05-06 16:00:23 +0000
commit2bfb966544a9aff299cf173b62443853078100e5 (patch)
tree755dcded301cb52eb116d1171aec04c9224d47f9 /winsup/cygwin/string.h
parent11ba5ef4d16998de441aea84a9ea6644b8036703 (diff)
downloadnewlib-2bfb966544a9aff299cf173b62443853078100e5.zip
newlib-2bfb966544a9aff299cf173b62443853078100e5.tar.gz
newlib-2bfb966544a9aff299cf173b62443853078100e5.tar.bz2
* 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 93f0c90..84dc14c 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;