summaryrefslogtreecommitdiffstats
path: root/bin/sh/eval.h
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/eval.h
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/eval.h')
-rw-r--r--bin/sh/eval.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/bin/sh/eval.h b/bin/sh/eval.h
index bf98782..fba6f9a 100644
--- a/bin/sh/eval.h
+++ b/bin/sh/eval.h
@@ -51,19 +51,10 @@ struct backcmd { /* result of evalbackcmd */
#define EV_TESTED 02 /* exit status is checked; ignore -e flag */
#define EV_BACKCMD 04 /* command executing within back quotes */
-int evalcmd(int, char **);
void evalstring(char *, int);
union node; /* BLETCH for ansi C */
void evaltree(union node *, int);
void evalbackcmd(union node *, struct backcmd *);
-int bltincmd(int, char **);
-int breakcmd(int, char **);
-int returncmd(int, char **);
-int falsecmd(int, char **);
-int truecmd(int, char **);
-int execcmd(int, char **);
-int timescmd(int, char **);
-int commandcmd(int, char **);
/* in_function returns nonzero if we are currently evaluating a function */
#define in_function() funcnest
OpenPOWER on IntegriCloud