summary refs log tree commit diff
diff options
context:
space:
mode:
-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