diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-09 12:35:13 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-09 12:35:13 +0000 |
commit | f81e8dbc74186f34faa5ae2b0fe8bdc3f18114ae (patch) | |
tree | 91ee95914c2b9a07817bd6f596fc3df758651147 /include/dump.h | |
parent | 327fd47f362843fc62fbee6169904c416ca13d11 (diff) | |
download | busybox-w32-f81e8dbc74186f34faa5ae2b0fe8bdc3f18114ae.tar.gz busybox-w32-f81e8dbc74186f34faa5ae2b0fe8bdc3f18114ae.tar.bz2 busybox-w32-f81e8dbc74186f34faa5ae2b0fe8bdc3f18114ae.zip |
*: make "pragma GCC visibility push(hidden)" less ugly
Diffstat (limited to 'include/dump.h')
-rw-r--r-- | include/dump.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/dump.h b/include/dump.h index 44f2082b7..925270d9c 100644 --- a/include/dump.h +++ b/include/dump.h | |||
@@ -1,8 +1,6 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | 2 | ||
3 | #if __GNUC_PREREQ(4,1) | 3 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN |
4 | # pragma GCC visibility push(hidden) | ||
5 | #endif | ||
6 | 4 | ||
7 | #define F_IGNORE 0x01 /* %_A */ | 5 | #define F_IGNORE 0x01 /* %_A */ |
8 | #define F_SETREP 0x02 /* rep count set, not default */ | 6 | #define F_SETREP 0x02 /* rep count set, not default */ |
@@ -55,6 +53,4 @@ dumper_t* alloc_dumper(void) FAST_FUNC; | |||
55 | extern void bb_dump_add(dumper_t *dumper, const char *fmt) FAST_FUNC; | 53 | extern void bb_dump_add(dumper_t *dumper, const char *fmt) FAST_FUNC; |
56 | extern int bb_dump_dump(dumper_t *dumper, char **argv) FAST_FUNC; | 54 | extern int bb_dump_dump(dumper_t *dumper, char **argv) FAST_FUNC; |
57 | 55 | ||
58 | #if __GNUC_PREREQ(4,1) | 56 | POP_SAVED_FUNCTION_VISIBILITY |
59 | # pragma GCC visibility pop | ||
60 | #endif | ||