From f8f4a09e312afc9816e282c83449615ed146ea50 Mon Sep 17 00:00:00 2001 From: ocean Date: Thu, 20 Oct 2005 02:22:50 +0000 Subject: * 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: http://svn.ruby-lang.org/repos/ruby/trunk@9427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- missing.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'missing.h') diff --git a/missing.h b/missing.h index f402b1f65..3703c0030 100644 --- a/missing.h +++ b/missing.h @@ -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 /* -- cgit