diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-12 20:23:53 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-12 20:23:53 +0000 |
commit | e7413bc6ecdff9751394ceeb37911beda4ca738a (patch) | |
tree | 715afa0c7b6bcf5c4d93041d288db58fd810da55 /missing/strstr.c | |
parent | 2d4e8b4e22e966f2da9dd8bb9ea0b008e0d1d26c (diff) |
* 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
Diffstat (limited to 'missing/strstr.c')
-rw-r--r-- | missing/strstr.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |