[Gc] Patch for minor "declarative" improvements

Ivan Maidanski ivmai at mail.ru
Sun Sep 13 04:51:59 PDT 2009


This small patch (ivmai135.diff) changes only several declarations. I've replaced "STATIC" with "static" for symbols without "GC_" prefix (almost all symbols had been added by myself earlier, resides in Win32-specific file (and shouldn't harden the debugging)). Thus these "unprefixed" symbols won't be visible outside even if NO_DEBUGGING is unset.

Also GC_wait_builder() is made static.

ChangeLog entries:

        * 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):
        * pthread_support.c (GC_wait_builder): Define as STATIC.
        * win32_threads.c (GC_wait_builder): Ditto.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ivmai135.diff
Type: application/octet-stream
Size: 5194 bytes
Desc: not available
Url : https://napali.hpl.hp.com/pipermail/gc/attachments/20090913/01440a8c/ivmai135-0001.obj

More information about the Gc mailing list