X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Ftime.h;h=8c86740b54feb0833c90928c7c2fd2a86132321e;hb=9689a6aa2bb0815ab95ea679d0d298acc4c5cd5b;hp=f9b3f4daac3e5e9578c95a6124e50f4042e3c38b;hpb=89a18a431ad15d784bbfb249683fb93cd8b7cd13;p=libucw.git diff --git a/ucw/time.h b/ucw/time.h index f9b3f4da..8c86740b 100644 --- a/ucw/time.h +++ b/ucw/time.h @@ -10,6 +10,14 @@ #ifndef _UCW_TIMER_H #define _UCW_TIMER_H +#ifdef CONFIG_UCW_CLEAN_ABI +#define get_timer ucw_get_timer +#define get_timestamp ucw_get_timestamp +#define init_timer ucw_init_timer +#define switch_timer ucw_switch_timer +#define timestamp_type ucw_timestamp_type +#endif + /*** * === Timestamps * @@ -45,7 +53,7 @@ extern struct cf_user_type timestamp_type; /* time-timer.c */ void init_timer(timestamp_t *timer); /** Initialize a timer. **/ -uns get_timer(timestamp_t *timer); /** Get the number of milliseconds since last init/get of a timer. **/ -uns switch_timer(timestamp_t *oldt, timestamp_t *newt); /** Stop ticking of one timer and resume another. **/ +uint get_timer(timestamp_t *timer); /** Get the number of milliseconds since last init/get of a timer. **/ +uint switch_timer(timestamp_t *oldt, timestamp_t *newt); /** Stop ticking of one timer and resume another. **/ #endif