summaryrefslogtreecommitdiff
path: root/alloc.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-09-14 06:22:19 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:46 +0400
commit17da0a54ab5b85ce79f05efd9d0a18e2ada5ab90 (patch)
tree031c51e4ab3c259c2cd40db34bc7c8d477ff2d21 /alloc.c
parentb5d942e8a28ee19b2af4730b5f8d21d84beb7db5 (diff)
downloadbdwgc-17da0a54ab5b85ce79f05efd9d0a18e2ada5ab90.tar.gz
2009-09-14 Ivan Maidanski <ivmai@mail.ru> (ivmai135.diff) * alloc.c (world_stopped_total_time, world_stopped_total_divisor): Replace "STATIC" with "static" in the definition (since the symbols aren't prefixed with "GC_"). * win32_threads.c (marker_sp, marker_bsp, marker_last_stack_min, start_mark_threads, mark_mutex, builder_cv, mark_cv, mark_mutex_event, signalObjectAndWait_func, main_thread_start): Ditto. * pthread_support.c (GC_wait_builder): Define as STATIC. * win32_threads.c (GC_wait_builder): Ditto.
Diffstat (limited to 'alloc.c')
-rw-r--r--alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/alloc.c b/alloc.c
index ee2c0e3f..b0ff8f35 100644
--- a/alloc.c
+++ b/alloc.c
@@ -496,8 +496,8 @@ GC_API int GC_CALL GC_collect_a_little(void)
/* Variables for world-stop average delay time statistic computation. */
/* "divisor" is incremented every world-stop and halved when reached */
/* its maximum (or upon "total_time" oveflow). */
- STATIC unsigned world_stopped_total_time = 0;
- STATIC unsigned world_stopped_total_divisor = 0;
+ static unsigned world_stopped_total_time = 0;
+ static unsigned world_stopped_total_divisor = 0;
# ifndef MAX_TOTAL_TIME_DIVISOR
/* We shall not use big values here (so "outdated" delay time */
/* values would have less impact on "average" delay time value than */