[pisa-src] r1649 - trunk/libpisa/checksum.h

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Wed, 11 Nov 2009 14:48:12 +0100

Author: tjansen
Date: Wed Nov 11 14:48:12 2009
New Revision: 1649

Log:
Added include for uint{16,32}_t typedefs.

Previously this worked well accidentially. Now the header is selfcontained.

Modified:
   trunk/libpisa/checksum.h

Modified: trunk/libpisa/checksum.h
==============================================================================
--- trunk/libpisa/checksum.h    Wed Nov 11 14:39:11 2009        (r1648)
+++ trunk/libpisa/checksum.h    Wed Nov 11 14:48:12 2009        (r1649)
@@ -13,7 +13,7 @@
 #ifndef PISA_CHECKSUM_H
 #define PISA_CHECKSUM_H
 
-/* TODO: needs to include a header for uint{16,32}_t to be selfcontained */
+#include <stdint.h>
 
 typedef uint16_t pisa_csum16;
 typedef uint32_t pisa_csum32;

Other related posts:

  • » [pisa-src] r1649 - trunk/libpisa/checksum.h - Thomas Jansen