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 /util-linux | |
| 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 'util-linux')
| -rw-r--r-- | util-linux/volume_id/volume_id_internal.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/util-linux/volume_id/volume_id_internal.h b/util-linux/volume_id/volume_id_internal.h index d5258c54f..af58883bf 100644 --- a/util-linux/volume_id/volume_id_internal.h +++ b/util-linux/volume_id/volume_id_internal.h | |||
| @@ -21,14 +21,11 @@ | |||
| 21 | #include "libbb.h" | 21 | #include "libbb.h" |
| 22 | #include "volume_id.h" | 22 | #include "volume_id.h" |
| 23 | 23 | ||
| 24 | #if __GNUC_PREREQ(4,1) | 24 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN |
| 25 | # pragma GCC visibility push(hidden) | ||
| 26 | #endif | ||
| 27 | 25 | ||
| 28 | #define dbg(...) ((void)0) | 26 | #define dbg(...) ((void)0) |
| 29 | /* #define dbg(...) bb_error_msg(__VA_ARGS__) */ | 27 | /* #define dbg(...) bb_error_msg(__VA_ARGS__) */ |
| 30 | 28 | ||
| 31 | |||
| 32 | /* volume_id.h */ | 29 | /* volume_id.h */ |
| 33 | 30 | ||
| 34 | #define VOLUME_ID_VERSION 48 | 31 | #define VOLUME_ID_VERSION 48 |
| @@ -227,6 +224,4 @@ int volume_id_probe_udf(struct volume_id *id /*,uint64_t off*/); | |||
| 227 | 224 | ||
| 228 | int volume_id_probe_xfs(struct volume_id *id /*,uint64_t off*/); | 225 | int volume_id_probe_xfs(struct volume_id *id /*,uint64_t off*/); |
| 229 | 226 | ||
| 230 | #if __GNUC_PREREQ(4,1) | 227 | POP_SAVED_FUNCTION_VISIBILITY |
| 231 | # pragma GCC visibility pop | ||
| 232 | #endif | ||
