summaryrefslogtreecommitdiff
path: root/klibc_fixups.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-11-24 21:59:03 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:02 -0700
commitfee6f4150d0d5fbfc1ba74130bac1ae21ce69c81 (patch)
tree14897276b23f2282b978445d6d0437ada5d2e851 /klibc_fixups.c
parent02cbdf5eb9af4af5c3f612990ac3250bdd2135c7 (diff)
[PATCH] get rid of functions in klibc_fixups that are now in klibc
Diffstat (limited to 'klibc_fixups.c')
-rw-r--r--klibc_fixups.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/klibc_fixups.c b/klibc_fixups.c
index c12c90fd1c..a99166811c 100644
--- a/klibc_fixups.c
+++ b/klibc_fixups.c
@@ -7,29 +7,4 @@
#include <sys/types.h>
#include "klibc_fixups.h"
-char *strerror(int errnum)
-{
- return "some error";
-}
-
-int strcasecmp(const char *s1, const char *s2)
-{
- char *n1;
- char *n2;
- int retval;
- int i;
-
- n1 = strdup(s1);
- n2 = strdup(s2);
-
- for (i = 0; i < strlen(n1); ++i)
- n1[i] = toupper(n1[i]);
- for (i = 0; i < strlen(n2); ++i)
- n2[i] = toupper(n2[i]);
- retval = strcmp(n1, n2);
- free(n1);
- free(n2);
- return retval;
-}
-
#endif