aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/native/timespec.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-06-17 04:09:52 +0200
committerSven Gothel <[email protected]>2013-06-17 04:09:52 +0200
commitc3dc7fbdb9437f773146926b41003df32ba756d1 (patch)
treeaf2e2c9f9138eae978e9f9611b001e2a5924ce45 /src/jogl/native/timespec.h
parent92fce556bf9c3d8f1e99bf79f48631d58829c523 (diff)
timespec.c/h: Add 'long timespec_microseconds(..)'
Diffstat (limited to 'src/jogl/native/timespec.h')
-rw-r--r--src/jogl/native/timespec.h3
1 files changed, 3 insertions, 0 deletions
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 */