diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-20 02:22:50 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-20 02:22:50 +0000 |
commit | 64c8c730d752e90591b44384ef4663fa06db4213 (patch) | |
tree | 35a33ab64f63da4a5d225cc309b8cee56b2e45cb /missing.h | |
parent | 7f60c0289c1e682b622610ca9d36ded21356f532 (diff) | |
download | ruby-64c8c730d752e90591b44384ef4663fa06db4213.tar.gz |
* eval.c, file.c, ruby.c: removed strchr, strrchr, strstr definition
because they are defined in missing.h.
* missing.h, missing/strchr.c, missing/strstr.c: ANSI styled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing.h')
-rw-r--r-- | missing.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -99,8 +99,8 @@ extern int strncasecmp(char *, char *, int); #endif #ifndef HAVE_STRCHR -extern char *strchr(char *, int); -extern char *strrchr(char *, int); +extern char *strchr(const char *, int); +extern char *strrchr(const char *, int); #endif #ifndef HAVE_STRERROR @@ -112,7 +112,7 @@ extern size_t strftime(char *, size_t, const char *, const struct tm *); #endif #ifndef HAVE_STRSTR -extern char *strstr(char *, char *); +extern char *strstr(const char *, const char *); #endif /* |