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 /coreutils/libcoreutils | |
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 'coreutils/libcoreutils')
-rw-r--r-- | coreutils/libcoreutils/coreutils.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/coreutils/libcoreutils/coreutils.h b/coreutils/libcoreutils/coreutils.h index 89cd9532f..99b67b14d 100644 --- a/coreutils/libcoreutils/coreutils.h +++ b/coreutils/libcoreutils/coreutils.h | |||
@@ -4,11 +4,9 @@ | |||
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef COREUTILS_H | 6 | #ifndef COREUTILS_H |
7 | #define COREUTILS_H 1 | 7 | #define COREUTILS_H 1 |
8 | 8 | ||
9 | #if __GNUC_PREREQ(4,1) | 9 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN |
10 | # pragma GCC visibility push(hidden) | ||
11 | #endif | ||
12 | 10 | ||
13 | typedef int (*stat_func)(const char *fn, struct stat *ps); | 11 | typedef int (*stat_func)(const char *fn, struct stat *ps); |
14 | 12 | ||
@@ -17,8 +15,6 @@ int cp_mv_stat(const char *fn, struct stat *fn_stat) FAST_FUNC; | |||
17 | 15 | ||
18 | mode_t getopt_mk_fifo_nod(char **argv) FAST_FUNC; | 16 | mode_t getopt_mk_fifo_nod(char **argv) FAST_FUNC; |
19 | 17 | ||
20 | #if __GNUC_PREREQ(4,1) | 18 | POP_SAVED_FUNCTION_VISIBILITY |
21 | # pragma GCC visibility pop | ||
22 | #endif | ||
23 | 19 | ||
24 | #endif | 20 | #endif |