aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-11-08 22:10:33 +0000
committerChristopher Faylor <me@cgf.cx>2005-11-08 22:10:33 +0000
commit86c6c4212fc4d69a499654f4f95fed11d1226678 (patch)
treee1b452b12da7cbdf739df1ecf2d8000efe86dd99
parent14f7b567cc4b7335e3c1e8574bec039a4355684c (diff)
downloadnewlib-86c6c4212fc4d69a499654f4f95fed11d1226678.zip
newlib-86c6c4212fc4d69a499654f4f95fed11d1226678.tar.gz
newlib-86c6c4212fc4d69a499654f4f95fed11d1226678.tar.bz2
* libc/include/string.h: Add cygwin-specific function declaration.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/string.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 8b7fda9..ddbfef7 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-08 Christopher Faylor <cgf@timesys.com>
+
+ * libc/include/string.h: Add cygwin-specific function declaration.
+
2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
* libc/unix/getcwd.c: Don't use non-reentrant syscall names.
diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h
index 30756b7..55a86b3 100644
--- a/newlib/libc/include/string.h
+++ b/newlib/libc/include/string.h
@@ -56,6 +56,9 @@ int _EXFUN(ffs,(int));
char *_EXFUN(index,(const char *, int));
_PTR _EXFUN(memccpy,(_PTR, const _PTR, int, size_t));
_PTR _EXFUN(mempcpy,(_PTR, const _PTR, size_t));
+#ifdef __CYGWIN__
+extern void *memmem (__const void *, size_t, __const void *, size_t);
+#endif
char *_EXFUN(rindex,(const char *, int));
int _EXFUN(strcasecmp,(const char *, const char *));
char *_EXFUN(strdup,(const char *));