1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
naruse 2010-10-12 20:23:53 +00:00
parent 2d4e8b4e22
commit e7413bc6ec
3 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,9 @@
Wed Oct 13 05:23:04 2010 NARUSE, Yui <naruse@ruby-lang.org>
* missing/strchr.c: add strlen's prototype.
* missing/strtrr.c: ditto.
Wed Oct 13 00:21:17 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/syck/rubyext.c (struct mktime_arg): constified.

View file

@ -2,6 +2,8 @@
#include "ruby/missing.h"
size_t strlen(const char*);
char *
strchr(const char *s, int c)
{

View file

@ -2,6 +2,8 @@
#include "ruby/missing.h"
size_t strlen(const char*);
char *
strstr(const char *haystack, const char *needle)
{