aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-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 6454c84d42d..845026b6b93 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);
+}