diff options
Diffstat (limited to 'libc/string/string.c')
-rw-r--r-- | libc/string/string.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libc/string/string.c b/libc/string/string.c index 0a38b346f..b3070907c 100644 --- a/libc/string/string.c +++ b/libc/string/string.c @@ -75,11 +75,9 @@ int strcmp(const char *s1, const char *s2) return c1 - c2; } -#endif -#ifdef L_strcoll __asm__(".weak strcoll; strcoll = strcmp"); -#endif +#endif /********************** Function strncat ************************************/ @@ -161,9 +159,7 @@ char *strchr(const char *str, int c) return 0; } -#endif -#ifdef L_index __asm__(".weak index; index = strchr"); #endif @@ -186,9 +182,7 @@ char *strrchr(const char *str, int c) } return prev; } -#endif -#ifdef L_rindex __asm__(".weak rindex; rindex = strrchr"); #endif |