]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/system/AMQueueEntryP.nc
mark more modules as safe code
[tinyos-2.x.git] / tos / system / AMQueueEntryP.nc
index c1c0f3809b2ea6c6e6a8073cd27593f5d2044cba..0cd9b185df49a3168a18e2ce961dd6a6c4e80995 100644 (file)
@@ -32,7 +32,7 @@
 
 #include "AM.h"
 
-generic module AMQueueEntryP(am_id_t amId) {
+generic module AMQueueEntryP(am_id_t amId) @safe() {
   provides interface AMSend;
   uses{
     interface Send;
@@ -62,8 +62,8 @@ implementation {
     return call Send.maxPayloadLength();
   }
 
-  command void* AMSend.getPayload(message_t* m) {
-    return call Send.getPayload(m);
+  command void* AMSend.getPayload(message_t* m, uint8_t len) {
+    return call Send.getPayload(m, len);
   }
   
 }