[Tinyos-2-commits]
CVS: tinyos-2.x/tos/platforms/eyesIFX crc.h, 1.2,
1.3 lf-crc.h, 1.1, 1.2
akoepke
andreaskoepke at users.sourceforge.net
Tue Feb 27 06:53:56 PST 2007
Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv23161
Modified Files:
crc.h lf-crc.h
Log Message:
add include guards
Index: crc.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/crc.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** crc.h 27 Feb 2007 14:34:16 -0000 1.2
--- crc.h 27 Feb 2007 14:53:54 -0000 1.3
***************
*** 39,42 ****
--- 39,44 ----
* @author Paul Curtis (pointed out this implementation, which is believed to be public domain)
*/
+ #ifndef CRC_H
+ #define CRC_H
uint16_t crcByte(uint16_t crc, uint8_t b) {
***************
*** 48,49 ****
--- 50,53 ----
return crc;
}
+
+ #endif
Index: lf-crc.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/lf-crc.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** lf-crc.h 27 Feb 2007 14:34:16 -0000 1.1
--- lf-crc.h 27 Feb 2007 14:53:54 -0000 1.2
***************
*** 39,42 ****
--- 39,44 ----
* @author Paul Curtis (pointed out this implementation, which is believed to be public domain)
*/
+ #ifndef CRC_H
+ #define CRC_H
uint16_t crcByte(uint16_t crc, uint8_t b) {
***************
*** 48,49 ****
--- 50,53 ----
return crc;
}
+
+ #endif
More information about the Tinyos-2-commits
mailing list