]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/system/AMQueueImplP.nc
safe tinyos annotations
[tinyos-2.x.git] / tos / system / AMQueueImplP.nc
index 0a9e4e08654cd707497e15f54184b2d63120befa..02e41d77e7f22cd75a05852f5a9fdc07f84193c2 100644 (file)
@@ -45,7 +45,7 @@ generic module AMQueueImplP(int numClients) {
 
 implementation {
     typedef struct {
-        message_t* msg;
+        message_t* ONE_NOK msg;
     } queue_entry_t;
   
     uint8_t current = numClients; // mark as empty
@@ -152,7 +152,7 @@ implementation {
         }
     }
 
-    void sendDone(uint8_t last, message_t *msg, error_t err) {
+    void sendDone(uint8_t last, message_t * ONE msg, error_t err) {
         queue[last].msg = NULL;
         tryToSend();
         signal Send.sendDone[last](msg, err);