]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
make a few toplevel app components safe
authorregehr <regehr>
Thu, 25 Sep 2008 04:08:45 +0000 (04:08 +0000)
committerregehr <regehr>
Thu, 25 Sep 2008 04:08:45 +0000 (04:08 +0000)
apps/MViz/MVizC.nc
apps/MultihopOscilloscope/MultihopOscilloscopeC.nc
apps/Null/NullC.nc
apps/Oscilloscope/OscilloscopeC.nc
apps/Powerup/PowerupC.nc
apps/RadioSenseToLeds/RadioSenseToLedsC.nc

index 82f39986de91ab96cbc999904790bb7f1bf99a75..30eb44720af2a80ec772fa704cb32e731f549d7a 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "MViz.h"
 
-module MVizC {
+module MVizC @safe(){
   uses {
     // Interfaces for initialization:
     interface Boot;
index fab099031e6077b7c5f6c489762187276c11c7cf..5179b3500d46aa8a37c9c3ba2a40a0e1a22d8687 100644 (file)
@@ -19,7 +19,7 @@
 #include "Timer.h"
 #include "MultihopOscilloscope.h"
 
-module MultihopOscilloscopeC {
+module MultihopOscilloscopeC @safe(){
   uses {
     // Interfaces for initialization:
     interface Boot;
index 6320e88ec4ffeb52db4d53a03139d694d60b98ae..a25e0c082e6357ad12576342d1733bd14d65b2f4 100644 (file)
@@ -38,7 +38,7 @@
  * @author Cory Sharp <cssharp@eecs.berkeley.edu>
  * @date February 4, 2006
  */
-module NullC
+module NullC @safe()
 {
   uses interface Boot;
 }
index a73dd60be019be29c7b718fefded35a4f22a9c0e..c4e0a1c0dc90ab0949860478dc91095e0f93189b 100644 (file)
@@ -16,7 +16,7 @@
 #include "Timer.h"
 #include "Oscilloscope.h"
 
-module OscilloscopeC
+module OscilloscopeC @safe()
 {
   uses {
     interface Boot;
index 3a2c898a588659393b54550158ed6b47b7786841..175d2a1ad34807f22aedcc8a1b8a2baec6e9f427 100644 (file)
@@ -34,7 +34,7 @@
   *
   * @author Cory Sharp <cssharp@eecs.berkeley.edu>
   */
-module PowerupC
+module PowerupC @safe()
 {
   uses interface Boot;
   uses interface Leds;
index 2762d59da96f001707dec14efdd11ff18d77c63e..dd8710b2dde67fd34de3d4e526cff89f2fcb7da6 100644 (file)
@@ -43,7 +43,7 @@
  * @date   June 6 2005
  */
 
-module RadioSenseToLedsC {
+module RadioSenseToLedsC @safe(){
   uses {
     interface Leds;
     interface Boot;