[git commit master] some (all?) archs don't define asm, so use builtin __asm__
Austin Foxley
austinf at cetoncorp.com
Mon May 17 14:15:24 UTC 2010
commit: http://git.uclibc.org/uClibc/commit/?id=02b44fe054665a21351fa5840b75ac585085618c
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
libc/misc/internals/__uClibc_main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
index 4ee4443..a98d92a 100644
--- a/libc/misc/internals/__uClibc_main.c
+++ b/libc/misc/internals/__uClibc_main.c
@@ -109,7 +109,7 @@ _pthread_cleanup_pop_restore(struct _pthread_cleanup_buffer *__buffer,
static __always_inline int not_null_ptr(const void *p)
{
const void *q;
- asm (""
+ __asm__ (""
: "=r" (q) /* output */
: "0" (p) /* input */
);
--
1.6.3.3
More information about the uClibc-cvs
mailing list