summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-05-06 13:58:16 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-05-06 13:58:16 +0000
commita3118befe105d1c3d34125305d14751871ecdf8f (patch)
tree4747f4dc5ecb748cc32d5d6e99aed46e43e823de /src/util
parent79d815530e5049aa8fbb7e1cd42f30adb5c7d8b1 (diff)
New function to allocate memory for a Cactus timer.
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@517 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/util')
-rw-r--r--src/util/CactusTimers.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/util/CactusTimers.c b/src/util/CactusTimers.c
index 866bb29f..7ffe4f5f 100644
--- a/src/util/CactusTimers.c
+++ b/src/util/CactusTimers.c
@@ -9,6 +9,19 @@
#include "CactusTimers.h"
+
+static char *rcsid = "$Header$";
+
+cTimer *CactusNewTimer(void)
+{
+ cTimer *timer;
+
+ timer = (cTimer*) malloc(sizeof(cTimer));
+
+ return timer;
+}
+
+
void CactusStartTimer(cTimer *timer)
{
}