diff options
author | jilles <jilles@FreeBSD.org> | 2011-06-13 21:03:27 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2011-06-13 21:03:27 +0000 |
commit | 16addb86733d970dc3f900be1a0536276292efbe (patch) | |
tree | 007f3e31e27062e0bd6f94d06d03f38056fc4685 /bin/sh/eval.h | |
parent | 83fe27f2b389dab3f912243ac3e6a6b726ebed3a (diff) | |
download | FreeBSD-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.h | 9 |
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 |