summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2001-07-26 16:58:30 +0000
committerMarius Vollmer <mvo@zagadka.de>2001-07-26 16:58:30 +0000
commitd315ea8ccc5aff59189f3133b517a92a97e5a9c3 (patch)
tree00f36de01913f454f1bbe8907f9b3be53750b3d3
parent67b7dd9ea9aad459d77785766da3a8e3607ce2ab (diff)
downloadguile-d315ea8ccc5aff59189f3133b517a92a97e5a9c3.tar.gz
(GC_noop1): Moved into the same #if/#endif context where it is needed.
-rw-r--r--libguile/gc_os_dep.c24
1 files changed, 10 insertions, 14 deletions
diff --git a/libguile/gc_os_dep.c b/libguile/gc_os_dep.c
index 2d5a19491..cc5af6837 100644
--- a/libguile/gc_os_dep.c
+++ b/libguile/gc_os_dep.c
@@ -62,20 +62,6 @@ typedef int GC_bool;
# define VOLATILE
#endif
-#if 0 /* currently unused (as of 2001-07-12) */
-
-/* Single argument version, robust against whole program analysis. */
-static void
-GC_noop1(x)
-word x;
-{
- static VOLATILE word sink;
-
- sink = x;
-}
-
-#endif
-
/* Machine dependent parameters. Some tuning parameters can be found */
/* near the top of gc_private.h. */
@@ -1773,6 +1759,16 @@ void *scm_get_stack_base()
}
return(result);
}
+
+ /* Single argument version, robust against whole program analysis. */
+ static void
+ GC_noop1(x)
+ word x;
+ {
+ static VOLATILE word sink;
+ sink = x;
+ }
+
# endif
#ifdef LINUX_STACKBOTTOM