[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/net/ctp Ctp.h,1.5,1.6

David Gay idgay at users.sourceforge.net
Thu Jul 10 11:59:54 PDT 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/net/ctp
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv3106/ctp

Modified Files:
	Ctp.h 
Log Message:
add some pseudo-COUNT annotations to suppress Deputy warnings

Index: Ctp.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/net/ctp/Ctp.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Ctp.h	20 Jun 2008 21:54:32 -0000	1.5
--- Ctp.h	10 Jul 2008 18:59:47 -0000	1.6
***************
*** 70,74 ****
    nx_uint8_t          originSeqNo;
    nx_collection_id_t  type;
!   nx_uint8_t          data[0];
  } ctp_data_header_t;
  
--- 70,74 ----
    nx_uint8_t          originSeqNo;
    nx_collection_id_t  type;
!   nx_uint8_t (COUNT(0) data)[0]; // Deputy place-holder, field will probably be removed when we Deputize Ctp
  } ctp_data_header_t;
  
***************
*** 77,81 ****
    nx_am_addr_t        parent;
    nx_uint16_t         etx;
!   nx_uint8_t          data[0];
  } ctp_routing_header_t;
  
--- 77,81 ----
    nx_am_addr_t        parent;
    nx_uint16_t         etx;
!   nx_uint8_t (COUNT(0) data)[0]; // Deputy place-holder, field will probably be removed when we Deputize Ctp
  } ctp_routing_header_t;
  



More information about the Tinyos-2-commits mailing list