summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-10-22 11:17:25 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-10-22 11:17:25 +0200
commit14eb08260698b6263f8d9583596474fd8c62acc5 (patch)
tree9f46926f4ec4e9df50716cd652606ab84619fc34 /common
parent6647b583b77c0ea3164c4a8d23d708251b0dbea2 (diff)
downloadbarebox-14eb08260698b6263f8d9583596474fd8c62acc5.tar.gz
barebox-14eb08260698b6263f8d9583596474fd8c62acc5.tar.xz
hush: remove include/hush.h
Everything in include/hush.h is only used in hush.c, so remove the header file. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/hush.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/hush.c b/common/hush.c
index 0e58e99e61..e4ae631bff 100644
--- a/common/hush.c
+++ b/common/hush.c
@@ -113,7 +113,6 @@
#include <xfuncs.h>
#include <linux/ctype.h> /* isalpha, isdigit */
#include <common.h> /* readline */
-#include <hush.h>
#include <environment.h>
#include <command.h> /* find_cmd */
#include <driver.h>
@@ -171,6 +170,10 @@ typedef enum {
#define FLAG_IN (1<<RES_IN)
#define FLAG_START (1<<RES_XXXX)
+#define FLAG_EXIT_FROM_LOOP 1
+#define FLAG_PARSE_SEMICOLON (1 << 1) /* symbol ';' is special for parser */
+#define FLAG_REPARSING (1 << 2) /* >=2nd pass */
+
/* This holds pointers to the various results of parsing */
struct p_context {
struct child_prog *child;