]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Fix safe tinyos warnings
authorliang_mike <liang_mike>
Thu, 24 Jul 2008 02:02:58 +0000 (02:02 +0000)
committerliang_mike <liang_mike>
Thu, 24 Jul 2008 02:02:58 +0000 (02:02 +0000)
tos/lib/tosthreads/csystem/CAMRadioP.nc
tos/lib/tosthreads/csystem/CAMSerialP.nc

index 2dc7d63aa7ba70045916c737a3313a8992c3c354..f9d12e12b669b26798c0091edad5db1ce5c276f0 100644 (file)
@@ -75,7 +75,7 @@ implementation {
     call AMPacket.setDestination(amsg, addr);
   }
   void amRadioSetSource(message_t* amsg, am_addr_t addr) @C() @spontaneous() {
-    return call AMPacket.setSource(amsg, addr);
+    call AMPacket.setSource(amsg, addr);
   }
   bool amRadioIsForMe(message_t* amsg) @C() @spontaneous() {
     return call AMPacket.isForMe(amsg);
@@ -90,7 +90,7 @@ implementation {
     return call AMPacket.group(amsg);
   }
   void amRadioSetGroup(message_t* amsg, am_group_t grp) @C() @spontaneous() {
-    return call AMPacket.setGroup(amsg, grp);
+    call AMPacket.setGroup(amsg, grp);
   }
   void radioClear(message_t* msg) @C() @spontaneous() {
     call Packet.clear(msg);
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);