From e7413bc6ecdff9751394ceeb37911beda4ca738a Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 12 Oct 2010 20:23:53 +0000 Subject: * missing/strchr.c: add strlen's prototype. * missing/strtrr.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- missing/strstr.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'missing/strstr.c') diff --git a/missing/strstr.c b/missing/strstr.c index cd2a4a4d5e..e6613c5d2f 100644 --- a/missing/strstr.c +++ b/missing/strstr.c @@ -2,6 +2,8 @@ #include "ruby/missing.h" +size_t strlen(const char*); + char * strstr(const char *haystack, const char *needle) { -- cgit v1.2.3