lttv and lib ltt new compiles
[lttv.git] / ltt / branches / poly / ltt / ltt-private.h
index 5fa28863d872c8040702f9b6dbf1959230d62308..8c0308c49b9a241ff2715cb2ee0c8a9a005e786d 100644 (file)
 #include <sys/types.h>
 #include <ltt/ltt.h>
 
+
+#ifndef max
+#define max(a,b) ((a)>(b)?(a):(b))
+#endif
+
+
 #define LTT_MAGIC_NUMBER 0x00D6B7ED
 #define LTT_REV_MAGIC_NUMBER 0xEDB7D600
 
@@ -181,7 +187,7 @@ struct _LttEvent{
   /* Begin of LttEventPosition fields */
   LttTracefile  *tracefile;
   unsigned int  block;
-  void          *offset;
+  unsigned int  offset;
 
   /* Timekeeping */
   uint64_t                tsc;       /* Current timestamp counter */
@@ -208,7 +214,7 @@ struct _LttEvent{
 struct _LttEventPosition{
   LttTracefile  *tracefile;
   unsigned int  block;
-  void          *offset;
+  unsigned int  offset;
   
   /* Timekeeping */
   uint64_t                tsc;       /* Current timestamp counter */
This page took 0.023199 seconds and 4 git commands to generate.