diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-09-22 00:43:18 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-09-22 00:43:18 +0000 |
commit | f8d5244380826053b8c75b3c302d39bdd1f9a121 (patch) | |
tree | 3c9d81358dce8e98a9b85ab840f0c657db7b4c17 /libc/string/generic | |
parent | 3ae4f469bfd1fd10fc3e148f75cb9ba4eff9ecdb (diff) | |
download | uClibc-alpine-f8d5244380826053b8c75b3c302d39bdd1f9a121.tar.bz2 uClibc-alpine-f8d5244380826053b8c75b3c302d39bdd1f9a121.tar.xz |
weaks moved after the related function so gcc4 won't warn
Diffstat (limited to 'libc/string/generic')
-rw-r--r-- | libc/string/generic/strcmp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/string/generic/strcmp.c b/libc/string/generic/strcmp.c index 2af550d81..c8212f04b 100644 --- a/libc/string/generic/strcmp.c +++ b/libc/string/generic/strcmp.c @@ -23,10 +23,6 @@ #undef strcmp -#ifdef __LOCALE_C_ONLY -weak_alias(strcmp,strcoll); -#endif /* __LOCALE_C_ONLY */ - /* Compare S1 and S2, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. */ @@ -50,3 +46,7 @@ strcmp (p1, p2) return c1 - c2; } + +#ifdef __LOCALE_C_ONLY +weak_alias(strcmp,strcoll); +#endif /* __LOCALE_C_ONLY */ |