summaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-11-06 07:45:54 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-11-06 07:45:54 -0800
commitb68e41aa44131257b1c0386d3b9e5ea5f223f9ad (patch)
treef864041f6a1c982bbc52e9fc967ffdee41e35369 /gc.c
parent0c03dd98cb65aef0f6abe026d4efacd4247120ef (diff)
downloadtxr-b68e41aa44131257b1c0386d3b9e5ea5f223f9ad.tar.gz
txr-b68e41aa44131257b1c0386d3b9e5ea5f223f9ad.tar.bz2
txr-b68e41aa44131257b1c0386d3b9e5ea5f223f9ad.zip
Remove unused rel1 function.
* gc.c (rel1): Removed. * gc.h (rel1): Declaration removed.
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gc.c b/gc.c
index bae671ec..58f0790c 100644
--- a/gc.c
+++ b/gc.c
@@ -111,13 +111,6 @@ val prot1(val *loc)
return nil; /* for use in macros */
}
-void rel1(val *loc)
-{
- /* protect and release calls must nest. */
- if (*--gc_prot_top != loc)
- abort();
-}
-
void protect(val *first, ...)
{
val *next = first;