[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/null hardware.h, 1.1.2.2, 1.1.2.3

Phil Levis scipio at users.sourceforge.net
Thu Aug 3 17:34:01 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/null
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv22148/tos/platforms/null

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	hardware.h 
Log Message:
Need #ifdef guards.


Index: hardware.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/null/hardware.h,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** hardware.h	17 Feb 2006 22:51:19 -0000	1.1.2.2
--- hardware.h	4 Aug 2006 00:33:58 -0000	1.1.2.3
***************
*** 1,2 ****
--- 1,5 ----
+ 
+ #ifndef HARDWARE_H
+ #define HARDWARE_H
  inline void __nesc_enable_interrupt() { }
  inline void __nesc_disable_interrupt() { }
***************
*** 10,11 ****
--- 13,16 ----
  inline void __nesc_atomic_end(__nesc_atomic_t x) @spontaneous() { }
  inline void __nesc_atomic_sleep() { }
+ 
+ #endif



More information about the Tinyos-2-commits mailing list