From 9242ae30e2f5351b71418952408254c2842700e4 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Sat, 29 Oct 2005 20:30:57 +1000 Subject: [BUILTIN] Disable histcmd completely when SMALL is defined Now that mkbuiltins correctly disabled histcmd we don't need the dummy histcmd implementation anymore. --- ChangeLog | 1 + src/histedit.c | 7 ------- 2 files changed, 1 insertion(+), 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 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 -- cgit 1.4.1