From ab843ae81eb445d94ed6821e45df8a782d2886e6 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 20 Sep 2009 01:09:24 +0000 Subject: Don't change the `ts' parameter in sandglass_spin. --- src/sandglass_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sandglass_impl.h') 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 -- cgit v1.2.3