summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog1
-rw-r--r--src/histedit.c7
2 files changed, 1 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 90ea632..09e03e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,7 @@
 	* Added default implementation of strsignal.
 	* Added default implementation of killpg.
 	* Disable ulimit if there is no getrlimit.
+	* Disable histcmd completely when SMALL is defined.
 
 2005-10-26  Herbert Xu <herbert@gondor.apana.org.au>
 
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