diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2012-09-09 10:42:48 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2012-09-09 10:42:48 +0400 |
commit | 0e5bd137bb22db2a69e365f6eb1dee9f0dc61b20 (patch) | |
tree | 11c525ecce10447060ec6b20eba3cf15dad537db /tests/test.c | |
parent | f7239d37c8d5e364a2f49c328e566007e66c4bc8 (diff) | |
download | bdwgc-0e5bd137bb22db2a69e365f6eb1dee9f0dc61b20.tar.gz |
Remove dummy GC_noop call from code visible to Lint tool only
(Minor code refactoring.)
* misc.c (GC_init): Remove dummy GC_noop call from Lint-only code.
* tests/test.c (main): Likewise.
Diffstat (limited to 'tests/test.c')
-rw-r--r-- | tests/test.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/test.c b/tests/test.c index ad22f23b..e4d6af40 100644 --- a/tests/test.c +++ b/tests/test.c @@ -1533,21 +1533,6 @@ void GC_CALLBACK warn_proc(char *msg, GC_word p) # ifndef MSWINCE fflush(stdout); # endif -# ifdef LINT - /* Entry points we should be testing, but aren't. */ - /* Some can be tested by defining GC_DEBUG at the top of this file */ - /* This is a bit SunOS4 specific. */ - GC_noop(GC_expand_hp, GC_add_roots, GC_clear_roots, - GC_register_disappearing_link, - GC_register_finalizer_ignore_self, - GC_debug_register_displacement, GC_debug_change_stubborn, - GC_debug_end_stubborn_change, GC_debug_malloc_uncollectable, - GC_debug_free, GC_debug_realloc, - GC_generic_malloc_words_small, GC_init, - GC_malloc_ignore_off_page, GC_malloc_atomic_ignore_off_page, - GC_set_max_heap_size, GC_get_bytes_since_gc, - GC_get_total_bytes, GC_pre_incr, GC_post_incr); -# endif # ifdef MSWIN32 GC_win32_free_heap(); # endif |