diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-09 16:35:13 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-09 16:35:13 +0400 |
commit | f81e8dbc74186f34faa5ae2b0fe8bdc3f18114ae (patch) | |
tree | 91ee95914c2b9a07817bd6f596fc3df758651147 /shell/match.h | |
parent | 327fd47f362843fc62fbee6169904c416ca13d11 (diff) |
*: make "pragma GCC visibility push(hidden)" less ugly
Diffstat (limited to 'shell/match.h')
-rw-r--r-- | shell/match.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/match.h b/shell/match.h index 863f52539..3fc4de340 100644 --- a/shell/match.h +++ b/shell/match.h @@ -1,5 +1,7 @@ /* match.h - interface to shell ##/%% matching code */ +PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN + typedef char *(*scan_t)(char *string, char *match, bool zero); char *scanleft(char *string, char *match, bool zero); @@ -20,3 +22,5 @@ static inline scan_t pick_scan(char op1, char op2, bool *zero) return op1 == op2 ? scanleft : scanright; } } + +POP_SAVED_FUNCTION_VISIBILITY |