summary refs log tree commit diff
path: root/src/histedit.c
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/histedit.c
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 '')
-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
mp;follow=1'>Replace "view" with "window"June McEnroe 2019-02-21Remove ROT13June McEnroe 2019-02-21Clean up man pageJune McEnroe 2019-01-26Draw UI before connectingJune McEnroe 2019-01-25Avoid unused variable warnings with getyxJune McEnroe 2019-01-25Add GNU/Linux build instructionsJune McEnroe