summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-01-02 16:01:42 -0800
committerKaz Kylheku <kaz@kylheku.com>2018-01-02 16:01:42 -0800
commit18d1c715712c74f709240fb389a6601a1a812895 (patch)
tree977872cc7c18b6a3f06f6827dad854d0936fc8c7 /lib.c
parent2264eda279ffbbfee97f80cda56db19b8c359072 (diff)
downloadtxr-18d1c715712c74f709240fb389a6601a1a812895.tar.gz
txr-18d1c715712c74f709240fb389a6601a1a812895.tar.bz2
txr-18d1c715712c74f709240fb389a6601a1a812895.zip
ltail: unused function.
* lib.c (ltail): Function removed. This was introduced at the same time as lazy_appendv and used only by it. That function was rewritten a few months ago and doesn't use lail. * lib.h (ltail): Declaration removed.
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib.c b/lib.c
index e5857e9c..6bb5f809 100644
--- a/lib.c
+++ b/lib.c
@@ -748,13 +748,6 @@ val butlastn(val n, val list)
return ldiff(list, tail);
}
-loc ltail(loc cons)
-{
- while (cdr(deref(cons)))
- cons = cdr_l(deref(cons));
- return cons;
-}
-
val pop(val *plist)
{
val ret = car(*plist);