aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/g2
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/g2')
-rw-r--r--src/tools/g2/clib.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/tools/g2/clib.c b/src/tools/g2/clib.c
index 6454c84d..845026b6 100644
--- a/src/tools/g2/clib.c
+++ b/src/tools/g2/clib.c
@@ -130,8 +130,6 @@ int read_clib_file(char *clib_file)
finalize_events();
- em->events = elog_get_events (em);
-
cpel_event_init(vec_len(em->events));
starttime = em->events[0].time;
@@ -152,3 +150,8 @@ int read_clib_file(char *clib_file)
return(0);
}
+
+unsigned int vl(void *a)
+{
+ return vec_len (a);
+}