CVS: msp430-libc/include iomacros.h,1.28,1.29
Chris Liechti <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/msp430-libc/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10663/msp430-libc/include
Modified Files:
iomacros.h
Log Message:
remove extra semicolons from macros
Index: iomacros.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/iomacros.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -w -d -r1.28 -r1.29
--- iomacros.h 22 Feb 2005 16:29:46 -0000 1.28
+++ iomacros.h 22 Mar 2006 19:53:18 -0000 1.29
@@ -84,7 +84,7 @@
*/
#define WRITE_SR(x) \
-__asm__ __volatile__( "mov %0, r2" : : "r" ((uint16_t)x) );
+__asm__ __volatile__( "mov %0, r2" : : "r" ((uint16_t)x) )
#define READ_SR \
({ \
@@ -103,7 +103,7 @@
*/
#define WRITE_SP(x) \
-__asm__ __volatile__( "mov %0, r1" : : "r" ((uint16_t)x) );
+__asm__ __volatile__( "mov %0, r1" : : "r" ((uint16_t)x) )
#define READ_SP \
({ \
@@ -115,11 +115,11 @@
__x; \
})
-#define _BIS_SR(x) __asm__ __volatile__( "bis %0, r2" : : "i" ((uint16_t)x) );
-#define _BIC_SR(x) __asm__ __volatile__( "bic %0, r2" : : "i" ((uint16_t)x) );
+#define _BIS_SR(x) __asm__ __volatile__( "bis %0, r2" : : "i" ((uint16_t)x) )
+#define _BIC_SR(x) __asm__ __volatile__( "bic %0, r2" : : "i" ((uint16_t)x) )
-#define __bis_SR_register(x) __asm__ __volatile__( "bis %0, r2" : : "i" ((uint16_t)x) );
-#define __bic_SR_register(x) __asm__ __volatile__( "bic %0, r2" : : "i" ((uint16_t)x) );
+#define __bis_SR_register(x) __asm__ __volatile__( "bis %0, r2" : : "i" ((uint16_t)x) )
+#define __bic_SR_register(x) __asm__ __volatile__( "bic %0, r2" : : "i" ((uint16_t)x) )
#if __GNUC_MINOR__ >= 4
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642