]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosboot/micaz/avrhardware.h
Remove bogus 'tab:4' and 'tab:2' markers.
[tinyos-2.x.git] / tos / lib / tosboot / micaz / avrhardware.h
index 15a3e87d675b7fe1397454ab35f3c16f1c9959fb..232452e733e08fb850a62e93f69baf97d7d9af21 100644 (file)
@@ -1,6 +1,6 @@
 // $Id$
 
-/*                                                                     tab:4
+/*
  * "Copyright (c) 2000-2003 The Regents of the University  of California.  
  * All rights reserved.
  *
@@ -133,10 +133,10 @@ static inline void TOSH_MAKE_##alias##_INPUT()  {TOSH_MAKE_##connector##_INPUT()
 
 // We need slightly different defs than SIGNAL, INTERRUPT
 #define TOSH_SIGNAL(signame)                                   \
-void signame() __attribute__ ((signal, spontaneous, C))
+  void signame() __attribute__ ((signal)) @spontaneous() @C()
 
 #define TOSH_INTERRUPT(signame)                                \
-void signame() __attribute__ ((interrupt, spontaneous, C))
+  void signame() __attribute__ ((interrupt)) @spontaneous() @C()
 
 /* Watchdog Prescaler
  */
@@ -166,14 +166,14 @@ void TOSH_wait()
 
 /* #ifndef NESC_BUILD_BINARY */
 
-/* inline __nesc_atomic_t __nesc_atomic_start(void) __attribute__((spontaneous)) */
+/* inline __nesc_atomic_t __nesc_atomic_start(void) @spontaneous() */
 /* { */
 /*   __nesc_atomic_t result = inp(SREG); */
 /*   cli(); */
 /*   return result; */
 /* } */
 
-/* inline void __nesc_atomic_end(__nesc_atomic_t oldSreg) __attribute__((spontaneous)) */
+/* inline void __nesc_atomic_end(__nesc_atomic_t oldSreg) @spontaneous() */
 /* { */
 /*   outp(oldSreg, SREG); */
 /* } */