convert from svn repository: remove tags directory
[lttv.git] / trunk / lttv / ltt / event.h
index d737a469b5a841be3759046a34192d48ec5998dd..8293d15fcf59c59c010604d2527a8037e95a034c 100644 (file)
@@ -1,4 +1,4 @@
-
+#ifndef _LTT_EVENT_H
 #define _LTT_EVENT_H
 
 #include <glib.h>
@@ -47,12 +47,12 @@ struct LttEventPosition {
        uint64_t tsc;            /* Current timestamp counter */
 };
 
-static inline guint16 ltt_event_id(struct LttEvent *event)
+static inline guint16 ltt_event_id(const struct LttEvent *event)
 {
        return event->event_id;
 }
 
-static inline LttTime ltt_event_time(struct LttEvent *event)
+static inline LttTime ltt_event_time(const struct LttEvent *event)
 {
        return event->event_time;
 }
This page took 0.022664 seconds and 4 git commands to generate.