Changeset 5580
- Timestamp:
- 06/09/08 12:09:11 (4 months ago)
- Files:
-
- libwired/trunk/test/tests/wi-timer-tests.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libwired/trunk/test/tests/wi-timer-tests.c
r5571 r5580 31 31 WI_TEST_EXPORT void wi_test_timer(void); 32 32 33 #ifdef WI_PTHREADS 34 33 35 static void _wi_test_timer_function(wi_timer_t *); 34 36 … … 36 38 static wi_uinteger_t _wi_test_timer_hits; 37 39 40 #endif 41 38 42 39 43 void wi_test_timer(void) { 44 #ifdef WI_PTHREADS 40 45 wi_timer_t *timer; 41 46 … … 47 52 48 53 WI_TEST_ASSERT_EQUALS(_wi_test_timer_hits, 5U, ""); 54 #endif 49 55 } 50 56 51 57 58 59 #ifdef WI_PTHREADS 52 60 53 61 static void _wi_test_timer_function(wi_timer_t *timer) { … … 61 69 wi_timer_schedule(timer); 62 70 } 71 72 #endif
