many compile fix
[lttv.git] / ltt / branches / poly / ltt / ltt.h
index 0aa413bd7e7439fa3641622df630dc687a7317df..5651702c2f45acdce9466ed269f50f985d606cb6 100644 (file)
@@ -19,8 +19,9 @@
 #ifndef LTT_H
 #define LTT_H
 
-#include <ltt/time.h>
 #include <glib.h>
+#include <ltt/time.h>
+#include <ltt/compiler.h>
 
 /* A trace is associated with a tracing session run on a single, possibly
    multi-cpu, system. It is defined as a pathname to a directory containing
@@ -82,10 +83,11 @@ typedef struct _LttEvent LttEvent;
 
 typedef struct _LttSystemDescription LttSystemDescription;
 
+
 /* Checksums are used to differentiate facilities which have the same name
    but differ. */
 
-typedef unsigned long LttChecksum;
+typedef guint32 LttChecksum;
 
 
 /* Events are usually stored with the easily obtained CPU clock cycle count,
@@ -96,8 +98,8 @@ typedef unsigned long LttChecksum;
 
 
 typedef struct _TimeInterval{
-  LttTime startTime;
-  LttTime endTime;  
+  LttTime start_time;
+  LttTime end_time;  
 } TimeInterval;
 
 
@@ -129,5 +131,5 @@ typedef enum _LttTypeEnum
   LTT_SEQUENCE, LTT_STRUCT, LTT_UNION
 } LttTypeEnum;
 
+
 #endif // LTT_H
This page took 0.022847 seconds and 4 git commands to generate.