diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-12 22:11:24 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-12 22:11:24 +0100 |
commit | 7306727d1b2ed05afc91548ba374f7400a2389e3 (patch) | |
tree | 39cf4dff144f82dc9eaad30eae9c4fe67d405e4e /shell/match.h | |
parent | 6c93b24ce9dfb5c3970178ca2545502a7830716c (diff) | |
download | busybox-w32-7306727d1b2ed05afc91548ba374f7400a2389e3.tar.gz busybox-w32-7306727d1b2ed05afc91548ba374f7400a2389e3.tar.bz2 busybox-w32-7306727d1b2ed05afc91548ba374f7400a2389e3.zip |
shell: split read builtin from ash
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/match.h')
-rw-r--r-- | shell/match.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/match.h b/shell/match.h index 90597ee54..98ff8745a 100644 --- a/shell/match.h +++ b/shell/match.h | |||
@@ -1,5 +1,8 @@ | |||
1 | /* match.h - interface to shell ##/%% matching code */ | 1 | /* match.h - interface to shell ##/%% matching code */ |
2 | 2 | ||
3 | #ifndef SHELL_MATCH_H | ||
4 | #define SHELL_MATCH_H 1 | ||
5 | |||
3 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN | 6 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN |
4 | 7 | ||
5 | typedef char *(*scan_t)(char *string, char *match, bool match_at_left); | 8 | typedef char *(*scan_t)(char *string, char *match, bool match_at_left); |
@@ -24,3 +27,5 @@ static inline scan_t pick_scan(char op1, char op2, bool *match_at_left) | |||
24 | } | 27 | } |
25 | 28 | ||
26 | POP_SAVED_FUNCTION_VISIBILITY | 29 | POP_SAVED_FUNCTION_VISIBILITY |
30 | |||
31 | #endif | ||