summaryrefslogtreecommitdiffstats
path: root/bin/sh/histedit.c
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2011-06-13 21:03:27 +0000
committerjilles <jilles@FreeBSD.org>2011-06-13 21:03:27 +0000
commit16addb86733d970dc3f900be1a0536276292efbe (patch)
tree007f3e31e27062e0bd6f94d06d03f38056fc4685 /bin/sh/histedit.c
parent83fe27f2b389dab3f912243ac3e6a6b726ebed3a (diff)
downloadFreeBSD-src-16addb86733d970dc3f900be1a0536276292efbe.zip
FreeBSD-src-16addb86733d970dc3f900be1a0536276292efbe.tar.gz
sh: Fix duplicate prototypes for builtins.
Have mkbuiltins write the prototypes for the *cmd functions to builtins.h instead of builtins.c and include builtins.h in more .c files instead of duplicating prototypes for *cmd functions in other headers.
Diffstat (limited to 'bin/sh/histedit.c')
-rw-r--r--bin/sh/histedit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c
index 7ebe5d8..4619baf 100644
--- a/bin/sh/histedit.c
+++ b/bin/sh/histedit.c
@@ -59,6 +59,7 @@ __FBSDID("$FreeBSD$");
#include "error.h"
#include "eval.h"
#include "memalloc.h"
+#include "builtins.h"
#define MAXHISTLOOPS 4 /* max recursions through fc */
#define DEFEDITOR "ed" /* default editor *should* be $EDITOR */
OpenPOWER on IntegriCloud