OSDN Git Service

Replace all occurrances of asm with __asm__ in the output headers
authorMartin Storsjo <martin@martin.st>
Wed, 8 Dec 2010 10:39:05 +0000 (11:39 +0100)
committerMartin Storsjo <martin@martin.st>
Wed, 8 Dec 2010 10:41:37 +0000 (11:41 +0100)
commitc9205dba43c45dc5a185aa26e1160c3f62e9b471
treefdc369cc402eacf20c904fc278bd376af94b1f87
parentd32c8052fc2b2d3c5da344eb673df35d4a5bc052
Replace all occurrances of asm with __asm__ in the output headers

asm() conflicts with userland code compiled with -std=c99, the userland
libc should only use __asm__() instead. Therefore, this transformation
has to be applied to all exported headers.

This only changes arch-arm/asm/byteorder.h.

Change-Id: I1cf88c37201c3a91668d387293a18885c316d53c
libc/kernel/tools/clean_header.py
libc/kernel/tools/defaults.py