summaryrefslogtreecommitdiff
path: root/missing/strcasecmp.c
diff options
context:
space:
mode:
author(no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-02-03 09:48:00 +0000
committer(no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-02-03 09:48:00 +0000
commit48de61615b95a4c0d493c3942a4ae459be531314 (patch)
treecf84f1c40b91c40f160c4f8fb0baf6a1e8dbcf38 /missing/strcasecmp.c
parent62e648e148b3cb9f96dcce808c55c02b7ccb4486 (diff)
This commit was manufactured by cvs2svn to create tag
'v1_3_1_990203'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_3_1_990203@390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing/strcasecmp.c')
-rw-r--r--missing/strcasecmp.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/missing/strcasecmp.c b/missing/strcasecmp.c
deleted file mode 100644
index 83aa50d9c3..0000000000
--- a/missing/strcasecmp.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <ctype.h>
-
-#define min(a,b) (((a)>(b))?(b):(a))
-int
-strcasecmp(p1, p2)
- char *p1, *p2;
-{
- for ( ; *p1 && *p2; p1++, p2++) {
- if (toupper(*p1) != toupper(*p2))
- return toupper(*p1) - toupper(*p2);
- }
- return strlen(p1) - strlen(p2);
-}