summaryrefslogtreecommitdiff
path: root/libguile/gc.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-12-05 11:30:09 +0100
committerAndy Wingo <wingo@pobox.com>2009-12-05 11:32:50 +0100
commitf39448c5a3804f823e367d97cd5e862b016cb8aa (patch)
tree6994d6aef8e6a1d24eb066e98b3a7b58ba903df2 /libguile/gc.c
parent1be8532fdb7715451b939571f9a147635df9cd65 (diff)
downloadguile-f39448c5a3804f823e367d97cd5e862b016cb8aa.tar.gz
remove a bunch of needless scm_permanent_object calls
* libguile/array-handle.c: * libguile/bytevectors.c: * libguile/deprecated.c: * libguile/eval.c: * libguile/feature.c: * libguile/filesys.c: * libguile/gc.c: * libguile/gdbint.c: * libguile/goops.c: * libguile/instructions.c: * libguile/load.c: * libguile/modules.c: * libguile/numbers.c: * libguile/options.c: * libguile/ports.c: * libguile/scmsigs.c: * libguile/srcprop.c: * libguile/srfi-4.c: * libguile/stacks.c: * libguile/threads.c: * libguile/vm.c: Remove calls to scm_permanent_object, as they are no longer needed with the BDW GC.
Diffstat (limited to 'libguile/gc.c')
-rw-r--r--libguile/gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/gc.c b/libguile/gc.c
index dedbd28e0..b2960b1d4 100644
--- a/libguile/gc.c
+++ b/libguile/gc.c
@@ -817,7 +817,7 @@ scm_init_gc ()
{
/* `GC_INIT ()' was invoked in `scm_storage_prehistory ()'. */
- scm_after_gc_hook = scm_permanent_object (scm_make_hook (SCM_INUM0));
+ scm_after_gc_hook = scm_make_hook (SCM_INUM0);
scm_c_define ("after-gc-hook", scm_after_gc_hook);
gc_async = scm_c_make_gsubr ("%gc-thunk", 0, 0, 0, gc_async_thunk);