From 9ef4282e9e32e857f4d0cac9df6d58f2cba159f4 Mon Sep 17 00:00:00 2001 From: reinelt Date: Wed, 3 Mar 2004 03:47:04 +0000 Subject: [lcd4linux @ 2004-03-03 03:47:04 by reinelt] big patch from Martin Hejl: - use qprintf() where appropriate - save CPU cycles on gettimeofday() - add quit() functions to free allocated memory - fixed lots of memory leaks git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@384 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- timer.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'timer.h') diff --git a/timer.h b/timer.h index d89f5d4..80b5695 100644 --- a/timer.h +++ b/timer.h @@ -1,4 +1,4 @@ -/* $Id: timer.h,v 1.1 2004/01/13 08:18:20 reinelt Exp $ +/* $Id: timer.h,v 1.2 2004/03/03 03:47:04 reinelt Exp $ * * generic timer handling * @@ -23,6 +23,13 @@ * * * $Log: timer.h,v $ + * Revision 1.2 2004/03/03 03:47:04 reinelt + * big patch from Martin Hejl: + * - use qprintf() where appropriate + * - save CPU cycles on gettimeofday() + * - add quit() functions to free allocated memory + * - fixed lots of memory leaks + * * Revision 1.1 2004/01/13 08:18:20 reinelt * timer queues added * liblcd4linux deactivated turing transformation to new layout @@ -35,5 +42,5 @@ int timer_add (void(*callback)(void *data), void *data, int interval, int one_shot); int timer_process (struct timespec *delay); - +void timer_exit(); #endif -- cgit v1.2.3