diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2010-04-12 09:23:43 +0200 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2010-04-12 09:41:06 +0200 |
commit | 62174f7330a4578faf2df6c108c0ee6ee5270325 (patch) | |
tree | b3420d72cbf73b84ef80b71d5f5d1e02072542a0 /libutil/logwtmp.c | |
parent | 625b805068561d121baf226cd67cb7aa6e6ba7ba (diff) |
libc_regex: __libc_lock primitives are actually available on uClibc
__libc_lock primitives are actually available on uClibc when threading
support is enable, so in this case they can be used.
It also fixes the following compiler warnings:
In file included from libc/misc/regex/regex.c:55:
libc/misc/regex/regex_internal.h:49:1: warning: "__libc_lock_define" redefined
[SNIP]
libc/misc/regex/regex_internal.h:50:1: warning: "__libc_lock_init" redefined
[SNIP]
libc/misc/regex/regex_internal.h:51:1: warning: "__libc_lock_lock" redefined
[SNIP]
libc/misc/regex/regex_internal.h:52:1: warning: "__libc_lock_unlock" redefined
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
(cherry picked from commit 65f9ccdafd008abd9892dfc46fb9737ec4d964c5)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libutil/logwtmp.c')
0 files changed, 0 insertions, 0 deletions