added const
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 26 May 2004 20:35:20 +0000 (20:35 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 26 May 2004 20:35:20 +0000 (20:35 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@559 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/ltt.h
ltt/branches/poly/ltt/trace.h
ltt/branches/poly/ltt/tracefile.c

index 0aa413bd7e7439fa3641622df630dc687a7317df..c83ed6528d7ba6a789dd93395acef8c92edefef4 100644 (file)
@@ -96,8 +96,8 @@ typedef unsigned long LttChecksum;
 
 
 typedef struct _TimeInterval{
-  LttTime startTime;
-  LttTime endTime;  
+  LttTime start_time;
+  LttTime end_time;  
 } TimeInterval;
 
 
index 2b3f8533ba6488494f7ae3fd88ec2aa0ed67975c..42fff96ff8f7f19bdaab9a8048ad104d66af87a9 100644 (file)
@@ -116,7 +116,7 @@ void ltt_tracefile_seek_time(LttTracefile *t, LttTime time);
 /* Seek to the first event with position equal or larger to ep */
 
 void ltt_tracefile_seek_position(LttTracefile *t,
-    LttEventPosition *ep);
+    const LttEventPosition *ep);
 
 /* Read the next event */
 
index f8b194a306a50fae7a4747dada1c8d3c4a6a0744..225f7eacfe67d95026361b75a311ce6af0380994 100644 (file)
@@ -903,7 +903,7 @@ void ltt_tracefile_seek_time(LttTracefile *t, LttTime time)
  * Seek to the first event with position equal or larger to ep 
  ****************************************************************************/
 
-void ltt_tracefile_seek_position(LttTracefile *t, LttEventPosition *ep)
+void ltt_tracefile_seek_position(LttTracefile *t, const LttEventPosition *ep)
 {
   //if we are at the right place, just return
   if(t->which_block == ep->block_num && t->which_event == ep->event_num)
This page took 0.025451 seconds and 4 git commands to generate.