summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-10-29 20:30:57 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2005-10-29 21:40:05 +1000
commit9242ae30e2f5351b71418952408254c2842700e4 (patch)
tree4165ccdbb6816d02840e1996a54f6d0cac0698b6 /src
parent[BUILTIN] Disable ulimit if there is no getrlimit (diff)
downloaddash-9242ae30e2f5351b71418952408254c2842700e4.tar.gz
dash-9242ae30e2f5351b71418952408254c2842700e4.zip
[BUILTIN] Disable histcmd completely when SMALL is defined
Now that mkbuiltins correctly disabled histcmd we don't need the dummy
histcmd implementation anymore.
Diffstat (limited to 'src')
-rw-r--r--src/histedit.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/histedit.c b/src/histedit.c
index d25c0c4..36d7937 100644
--- a/src/histedit.c
+++ b/src/histedit.c
@@ -489,11 +489,4 @@ str_to_event(const char *str, int last)
 	}
 	return (he.num);
 }
-#else
-int
-histcmd(int argc, char **argv)
-{
-	sh_error("not compiled with history support");
-	/* NOTREACHED */
-}
 #endif