]> granicus.if.org Git - gc/commit
Add 'GC_' prefix to dl_head and fo_head (code refactoring)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 16 Feb 2012 18:40:11 +0000 (22:40 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 16 Feb 2012 18:40:58 +0000 (22:40 +0400)
commitf5cfedb9d5acfac024edafa4e5410848e1f81f38
treea4c6008dfeb3d823c55fb05d76a7bb56c65c3279
parent60e6efc4219d80056d0251012f4c8a05b3610c30
Add 'GC_' prefix to dl_head and fo_head (code refactoring)

* finalize.c (HASH2): Enclose argument in parentheses.
* finalize.c (dl_set_next, fo_set_next): Enclose the whole expression
in parentheses.
* finalize.c (dl_head, fo_head): Add GC_ prefix; use STATIC instead of
"static" (to make the symbols globally visible during debugging).
* finalize.c (log_dl_table_size, GC_finalize): Reformat the comment.
* finalize.c (GC_push_finalizer_structures,
GC_general_register_disappearing_link,
GC_unregister_disappearing_link, GC_move_disappearing_link,
GC_dump_finalization, GC_finalize): Rename dl_head to GC_dl_head.
* finalize.c (GC_push_finalizer_structures,
GC_register_finalizer_inner, GC_dump_finalization, GC_finalize,
GC_enqueue_all_finalizers); Rename fo_head to GC_fo_head.
* finalize.c (GC_general_register_disappearing_link,
GC_unregister_disappearing_link, GC_dump_finalization, GC_finalize):
Reformat code.
finalize.c