many compile fix
[lttv.git] / ltt / branches / poly / ltt / time.h
index 7d925d1b48240854672371c1b72aff55231bf9cc..d826e4ac93d54b5cdb5d4d71e6101a6462b6174b 100644 (file)
@@ -23,8 +23,6 @@
 #include <ltt/compiler.h>
 #include <math.h>
 
-#include <ltt/ltt-types.h>
-
 typedef struct _LttTime {
   unsigned long tv_sec;
   unsigned long tv_nsec;
@@ -248,17 +246,4 @@ static inline LttTime ltt_time_from_uint64(guint64 t1)
   return res;
 }
 
-inline LttTime ltt_get_time(LttTrace t, void *ptr)
-{
-  LttTime output;
-
-  output.tv_sec =
-    (guint64) (t->reverse_byte_order ? GUINT64_SWAP_LE_BE(ptr): ptr);
-  ptr += sizeof(guint64);
-  output.tv_nsec =
-    (guint64) (t->reverse_byte_order ? GUINT64_SWAP_LE_BE(ptr): ptr);
-
-  return output;
-}
-
 #endif // LTT_TIME_H
This page took 0.032031 seconds and 4 git commands to generate.