From 5fb21f61ee24f176205d0bd798564d8137e2ce60 Mon Sep 17 00:00:00 2001 From: yangxx Date: Wed, 6 Aug 2003 12:50:24 +0000 Subject: [PATCH] git-svn-id: http://ltt.polymtl.ca/svn@169 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/include/ltt/ltt.h | 5 ++++- ltt/branches/poly/include/ltt/type.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ltt/branches/poly/include/ltt/ltt.h b/ltt/branches/poly/include/ltt/ltt.h index 17303a08..d177e946 100644 --- a/ltt/branches/poly/include/ltt/ltt.h +++ b/ltt/branches/poly/include/ltt/ltt.h @@ -75,7 +75,10 @@ typedef unsigned long LttChecksum; times per second) of the real time clock with their corresponding cycle count values. */ -typedef struct timespec LttTime; +typedef struct _LttTime { + unsigned long tv_sec; + unsigned long tv_nsec; +} LttTime; typedef uint64_t LttCycleCount; diff --git a/ltt/branches/poly/include/ltt/type.h b/ltt/branches/poly/include/ltt/type.h index e43a1fd6..d62871bb 100644 --- a/ltt/branches/poly/include/ltt/type.h +++ b/ltt/branches/poly/include/ltt/type.h @@ -61,7 +61,7 @@ unsigned ltt_type_member_number(LttType *t); /* The type of a data member in a structure. */ -LttType *ltt_type_member_type(LttType *t, unsigned i); +LttType *ltt_type_member_type(LttType *t, unsigned i, char ** name); /* For enumerations, obtain the symbolic string associated with a value -- 2.34.1