From c179eecedf07c1ee6d7d71b2841021bbfb522601 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 22 Mar 2017 00:37:06 +0300 Subject: 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. --- mach_dep.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'mach_dep.c') diff --git a/mach_dep.c b/mach_dep.c index 62b7a37b..ccc1de6f 100644 --- a/mach_dep.c +++ b/mach_dep.c @@ -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 */ -- cgit v1.2.1