summaryrefslogtreecommitdiff
path: root/mach_dep.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2017-03-22 00:37:06 +0300
committerIvan Maidanski <ivmai@mail.ru>2017-03-22 00:38:56 +0300
commitc179eecedf07c1ee6d7d71b2841021bbfb522601 (patch)
treecc7e39403199d46102de0a40fcedcb4a615012af /mach_dep.c
parentded6139769d21e6d19d30a0ec21b06e0058ffd10 (diff)
downloadbdwgc-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.c10
1 files changed, 0 insertions, 10 deletions
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 */