*: make "pragma GCC visibility push(hidden)" less ugly

This commit is contained in:
Denis Vlasenko
2009-04-09 12:35:13 +00:00
parent 327fd47f36
commit f81e8dbc74
43 changed files with 158 additions and 266 deletions

View File

@@ -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