From c3dc7fbdb9437f773146926b41003df32ba756d1 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 17 Jun 2013 04:09:52 +0200 Subject: timespec.c/h: Add 'long timespec_microseconds(..)' --- src/jogl/native/timespec.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/jogl/native/timespec.h') diff --git a/src/jogl/native/timespec.h b/src/jogl/native/timespec.h index f900bfa16..a621562b9 100644 --- a/src/jogl/native/timespec.h +++ b/src/jogl/native/timespec.h @@ -17,4 +17,7 @@ void timespec_subtract(struct timespec *r, struct timespec *a, struct timespec * /** convert the timespec into milliseconds (may overflow) */ long timespec_milliseconds(struct timespec *a); +/** convert the timespec into microseconds (may overflow) */ +long timespec_microseconds(struct timespec *a); + #endif /* _timespec_h */ -- cgit v1.2.3