]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/csystem/CAMSerialP.nc
Fix safe tinyos warnings
[tinyos-2.x.git] / tos / lib / tosthreads / csystem / CAMSerialP.nc
index fea5963aa179f0f936d23b556c26b580f934f1e3..c0a7bba94b1f3951b80c614c1bacfff5c4d6b750 100644 (file)
@@ -67,7 +67,7 @@ implementation {
     call AMPacket.setDestination(amsg, addr);
   }
   void amSerialSetSource(message_t* amsg, am_addr_t addr) @C() @spontaneous() {
-    return call AMPacket.setSource(amsg, addr);
+    call AMPacket.setSource(amsg, addr);
   }
   bool amSerialIsForMe(message_t* amsg) @C() @spontaneous() {
     return call AMPacket.isForMe(amsg);
@@ -82,7 +82,7 @@ implementation {
     return call AMPacket.group(amsg);
   }
   void amSerialSetGroup(message_t* amsg, am_group_t grp) @C() @spontaneous() {
-    return call AMPacket.setGroup(amsg, grp);
+    call AMPacket.setGroup(amsg, grp);
   }
   void serialClear(message_t* msg) @C() @spontaneous() {
     call Packet.clear(msg);