From d8a599acb5150d28473c443baca293a87a9fdad0 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 8 Aug 2011 21:44:23 -0600 Subject: Make min_wait less hacky. I wish C had the `mutable' keyword. --- libdimension/progress-impl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libdimension/progress-impl.h') diff --git a/libdimension/progress-impl.h b/libdimension/progress-impl.h index 973c161..6c10ff8 100644 --- a/libdimension/progress-impl.h +++ b/libdimension/progress-impl.h @@ -51,6 +51,5 @@ struct dmnsn_progress { pthread_mutex_t *mutex; /* Minimum waited-on value */ - volatile double min_wait; - volatile double *min_waitp; /* Hack for const values */ + double *min_wait; }; -- cgit v1.2.3