[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/tossim/sf/sim tos.h, 1.1, 1.2

John Regehr regehr at users.sourceforge.net
Tue Feb 19 09:01:06 PST 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/tossim/sf/sim
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv26063

Modified Files:
	tos.h 
Log Message:
one more tos.h file that needs to explicitly include the Safe TinyOS macros

Index: tos.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/tossim/sf/sim/tos.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** tos.h	3 Oct 2007 01:50:20 -0000	1.1
--- tos.h	19 Feb 2008 17:01:04 -0000	1.2
***************
*** 55,58 ****
--- 55,66 ----
  #include <stdio.h>
  
+ /* 
+  * TEMPORARY: include the Safe TinyOS macros so that annotations get
+  * defined away for non-safe users -- this will no longer be necessary
+  * after we require users to use the ncc that has Safe TinyOS
+  * support 
+  */
+ #include "../../lib/safe/include/annots_stage1.h"
+ 
  #ifndef __cplusplus
  typedef uint8_t bool;



More information about the Tinyos-2-commits mailing list