aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstddjb/tain_now_set_stopwatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/tain_now_set_stopwatch.c')
-rw-r--r--src/libstddjb/tain_now_set_stopwatch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstddjb/tain_now_set_stopwatch.c b/src/libstddjb/tain_now_set_stopwatch.c
index a770141..fd31950 100644
--- a/src/libstddjb/tain_now_set_stopwatch.c
+++ b/src/libstddjb/tain_now_set_stopwatch.c
@@ -15,14 +15,14 @@
# define SKALIBS_STOPWATCH CLOCK_BOOTTIME
#endif
-static tain_t offset ;
+static tain offset ;
-static int tain_now_stopwatch (tain_t *now)
+static int tain_now_stopwatch (tain *now)
{
return tain_stopwatch_read(now, SKALIBS_STOPWATCH, &offset) ;
}
-int tain_now_set_stopwatch (tain_t *now)
+int tain_now_set_stopwatch (tain *now)
{
if (!tain_stopwatch_init(now, SKALIBS_STOPWATCH, &offset))
return tain_now_set_wallclock(now) ;
@@ -32,7 +32,7 @@ int tain_now_set_stopwatch (tain_t *now)
#else
-int tain_now_set_stopwatch (tain_t *now)
+int tain_now_set_stopwatch (tain *now)
{
return tain_now_set_wallclock(now) ;
}