]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/ctp/CtpInfo.nc
get rid of +5 for rounding, change arg name in functions in CtpInfo to match the...
[tinyos-2.x.git] / tos / lib / net / ctp / CtpInfo.nc
index 8074597676a5072a097c805d48fa3603520a65b6..7e8654951f7779ada76a4aacfcf74eb841f7011d 100644 (file)
@@ -28,6 +28,7 @@
  *  @see Net2-WG
  */
 
+#include "AM.h"
 
 interface CtpInfo {
 
@@ -80,7 +81,7 @@ interface CtpInfo {
   command bool isNeighborCongested(am_addr_t n);
 
   command uint8_t numNeighbors();
-  command uint16_t getNeighborLinkQuality(uint8_t neighbor);
-  command uint16_t getNeighborRouteQuality(uint8_t neighbor);
-  command am_addr_t getNeighborAddr(uint8_t neighbor);
+  command uint16_t getNeighborLinkQuality(uint8_t n);
+  command uint16_t getNeighborRouteQuality(uint8_t n);
+  command am_addr_t getNeighborAddr(uint8_t n);
 }