summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-02-03 15:12:29 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-02-03 15:12:29 -0800
commita2665d2f02ce417851719f07c9e88bd642d59641 (patch)
tree647cf82cff328c1196dbd213b6c2a54f7643c0da /lib.c
parentbcac7015dadee4c22e6e2adf96cb8cded25e2fe2 (diff)
downloadtxr-a2665d2f02ce417851719f07c9e88bd642d59641.tar.gz
txr-a2665d2f02ce417851719f07c9e88bd642d59641.tar.bz2
txr-a2665d2f02ce417851719f07c9e88bd642d59641.zip
* lib.c (nullp): Function removed.
* lib.h (nullp): New inline function. (eq): Removed useless parentheses: it's not a macro.
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib.c b/lib.c
index 09ca61c6..3f01ab85 100644
--- a/lib.c
+++ b/lib.c
@@ -1418,11 +1418,6 @@ val consp(val obj)
return (ty == CONS || ty == LCONS) ? t : nil;
}
-val nullp(val obj)
-{
- return obj == 0 ? t : nil;
-}
-
val atom(val obj)
{
return if3(consp(obj), nil, t);