summaryrefslogtreecommitdiffstats
path: root/src/sandglass_impl.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-09-20 01:09:24 +0000
committerTavian Barnes <tavianator@gmail.com>2009-09-20 01:09:24 +0000
commitab843ae81eb445d94ed6821e45df8a782d2886e6 (patch)
tree6004225779a1c9ce9d7915ccbde167a4c25f26d0 /src/sandglass_impl.h
parentd69067be2350d635683b524381c3d084498ec7aa (diff)
downloadlibsandglass-ab843ae81eb445d94ed6821e45df8a782d2886e6.tar.xz
Don't change the `ts' parameter in sandglass_spin.
Diffstat (limited to 'src/sandglass_impl.h')
-rw-r--r--src/sandglass_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sandglass_impl.h b/src/sandglass_impl.h
index 07a3616..689c6bf 100644
--- a/src/sandglass_impl.h
+++ b/src/sandglass_impl.h
@@ -41,6 +41,6 @@ void sandglass_get_currtime(struct timespec *ts);
void sandglass_timespec_add(struct timespec *ts, const struct timespec *d);
void sandglass_timespec_sub(struct timespec *ts, const struct timespec *d);
int sandglass_timespec_cmp(const struct timespec *a, const struct timespec *b);
-void sandglass_spin(struct timespec *ts);
+void sandglass_spin(const struct timespec *ts);
#endif /* SANDGLASS_IMPL_H_INCLUDED */ \ No newline at end of file