diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-01-02 16:01:42 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-01-02 16:01:42 -0800 |
commit | 18d1c715712c74f709240fb389a6601a1a812895 (patch) | |
tree | 977872cc7c18b6a3f06f6827dad854d0936fc8c7 | |
parent | 2264eda279ffbbfee97f80cda56db19b8c359072 (diff) | |
download | txr-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.
-rw-r--r-- | lib.c | 7 | ||||
-rw-r--r-- | lib.h | 1 |
2 files changed, 0 insertions, 8 deletions
@@ -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); @@ -543,7 +543,6 @@ val nthlast(val pos, val list); val nthcdr(val pos, val list); val nth(val pos, val list); val butlastn(val n, val list); -loc ltail(loc cons); val pop(val *plist); val upop(val *plist, val *pundo); val rcyc_pop(val *plist); |