diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-23 10:34:21 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-23 10:34:21 +0000 |
commit | 7bca85d261904a0a67f2e514b6c4972128561156 (patch) | |
tree | a55a049ee2362dfd3e3f360ce450d9bb97b1ee79 /libc | |
parent | f6fc6973e34a3c250457aed1710ee0872800acdd (diff) | |
download | uClibc-alpine-7bca85d261904a0a67f2e514b6c4972128561156.tar.bz2 uClibc-alpine-7bca85d261904a0a67f2e514b6c4972128561156.tar.xz |
fix build failures on i386
Diffstat (limited to 'libc')
-rw-r--r-- | libc/string/generic/mempcpy.c | 4 | ||||
-rw-r--r-- | libc/string/i386/memchr.c | 2 | ||||
-rw-r--r-- | libc/string/i386/memcpy.c | 2 | ||||
-rw-r--r-- | libc/string/i386/memset.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/sigqueue.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/libc/string/generic/mempcpy.c b/libc/string/generic/mempcpy.c index 8d7356486..0fcdb665c 100644 --- a/libc/string/generic/mempcpy.c +++ b/libc/string/generic/mempcpy.c @@ -8,13 +8,13 @@ #include <string.h> #ifdef __USE_GNU -/* Experimentally off - libc_hidden_proto(mempcpy) */ -/* Experimentally off - libc_hidden_proto(memcpy) */ +#undef mempcpy void *mempcpy (void *dstpp, const void *srcpp, size_t len) { memcpy(dstpp, srcpp, len); return (void *)(((char *)dstpp) + len); } libc_hidden_weak(mempcpy) + #endif diff --git a/libc/string/i386/memchr.c b/libc/string/i386/memchr.c index fe4537914..5c64445e0 100644 --- a/libc/string/i386/memchr.c +++ b/libc/string/i386/memchr.c @@ -32,7 +32,7 @@ #include <string.h> -/* Experimentally off - libc_hidden_proto(memchr) */ +#undef memchr void *memchr(const void *cs, int c, size_t count) { int d0; diff --git a/libc/string/i386/memcpy.c b/libc/string/i386/memcpy.c index 216ddfd1a..af86cf255 100644 --- a/libc/string/i386/memcpy.c +++ b/libc/string/i386/memcpy.c @@ -32,7 +32,7 @@ #include <string.h> -/* Experimentally off - libc_hidden_proto(memcpy) */ +#undef memcpy void *memcpy(void * to, const void * from, size_t n) { int d0, d1, d2; diff --git a/libc/string/i386/memset.c b/libc/string/i386/memset.c index bbaa45215..779725f2f 100644 --- a/libc/string/i386/memset.c +++ b/libc/string/i386/memset.c @@ -32,7 +32,7 @@ #include <string.h> -/* Experimentally off - libc_hidden_proto(memset) */ +#undef memset void *memset(void *s, int c, size_t count) { int d0, d1; diff --git a/libc/sysdeps/linux/common/sigqueue.c b/libc/sysdeps/linux/common/sigqueue.c index d610e8f6a..1b997dcd7 100644 --- a/libc/sysdeps/linux/common/sigqueue.c +++ b/libc/sysdeps/linux/common/sigqueue.c @@ -48,7 +48,7 @@ int sigqueue (pid_t pid, int sig, const union sigval val) info.si_uid = getuid (); info.si_value = val; - return __libc_rt_sigqueueinfo(pid, sig, __ptrvalue (&info)); + return __libc_rt_sigqueueinfo(pid, sig, &info); } #endif |