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:
parent
2d4e8b4e22
commit
e7413bc6ec
3 changed files with 10 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include "ruby/missing.h"
|
||||
|
||||
size_t strlen(const char*);
|
||||
|
||||
char *
|
||||
strchr(const char *s, int c)
|
||||
{
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include "ruby/missing.h"
|
||||
|
||||
size_t strlen(const char*);
|
||||
|
||||
char *
|
||||
strstr(const char *haystack, const char *needle)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue