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 /runit | |
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 'runit')
-rw-r--r-- | runit/runit_lib.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/runit/runit_lib.h b/runit/runit_lib.h index b0b6dc220..fd94db9d7 100644 --- a/runit/runit_lib.h +++ b/runit/runit_lib.h | |||
@@ -25,9 +25,7 @@ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | |||
25 | ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | #if __GNUC_PREREQ(4,1) | 28 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN |
29 | # pragma GCC visibility push(hidden) | ||
30 | #endif | ||
31 | 29 | ||
32 | extern unsigned byte_chr(char *s,unsigned n,int c); | 30 | extern unsigned byte_chr(char *s,unsigned n,int c); |
33 | 31 | ||
@@ -100,6 +98,4 @@ struct ERR_svstatus_must_be_20_bytes { | |||
100 | char ERR_svstatus_must_be_20_bytes[sizeof(svstatus_t) == 20 ? 1 : -1]; | 98 | char ERR_svstatus_must_be_20_bytes[sizeof(svstatus_t) == 20 ? 1 : -1]; |
101 | }; | 99 | }; |
102 | 100 | ||
103 | #if __GNUC_PREREQ(4,1) | 101 | POP_SAVED_FUNCTION_VISIBILITY |
104 | # pragma GCC visibility pop | ||
105 | #endif | ||