diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2017-03-22 00:37:06 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2017-03-22 00:38:56 +0300 |
commit | c179eecedf07c1ee6d7d71b2841021bbfb522601 (patch) | |
tree | cc7e39403199d46102de0a40fcedcb4a615012af /mach_dep.c | |
parent | ded6139769d21e6d19d30a0ec21b06e0058ffd10 (diff) | |
download | bdwgc-c179eecedf07c1ee6d7d71b2841021bbfb522601.tar.gz |
Remove lint-specific code
Note: cppcheck and CSA replace lint tool.
* Makefile.direct (lint): Remove.
* dyn_load.c [SOLARISDL && !USE_PROC_FOR_LIBRARIES && LINT] (_DYNAMIC):
Remove.
* dyn_load.c [IRIX5 || (USE_PROC_FOR_LIBRARIES && !LINUX)]
(GC_register_dynamic_libraries): Remove comment about a false warning
reported by lint.
* mach_dep.c [ASM_CLEAR_CODE && LINT] (GC_clear_stack_inner): Remove.
* tests/test.c (typed_test): Call GC_make_descriptor unconditionally.
* tests/test.c (run_one_test): Set y to fail_proc1 unconditionally.
* tests/test.c (main): Do not check whether LINT is defined.
Diffstat (limited to 'mach_dep.c')
-rw-r--r-- | mach_dep.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -325,13 +325,3 @@ GC_INNER void GC_with_callee_saves_pushed(void (*fn)(ptr_t, void *), /* contents before we get a chance to look at them. */ GC_noop1((word)(&dummy)); } - -#if defined(ASM_CLEAR_CODE) -# ifdef LINT - ptr_t GC_clear_stack_inner(ptr_t arg, word limit) - { - return limit ? arg : 0; /* use both arguments */ - } - /* The real version is in a .S file */ -# endif -#endif /* ASM_CLEAR_CODE */ |