aboutsummaryrefslogtreecommitdiff
path: root/include/busybox.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-09 12:35:13 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-09 12:35:13 +0000
commitf81e8dbc74186f34faa5ae2b0fe8bdc3f18114ae (patch)
tree91ee95914c2b9a07817bd6f596fc3df758651147 /include/busybox.h
parent327fd47f362843fc62fbee6169904c416ca13d11 (diff)
downloadbusybox-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/busybox.h')
-rw-r--r--include/busybox.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/include/busybox.h b/include/busybox.h
index 314b95126..54c278f87 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -4,14 +4,12 @@
4 * 4 *
5 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. 5 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
6 */ 6 */
7#ifndef _BB_INTERNAL_H_ 7#ifndef BUSYBOX_H
8#define _BB_INTERNAL_H_ 1 8#define BUSYBOX_H 1
9 9
10#include "libbb.h" 10#include "libbb.h"
11 11
12#if __GNUC_PREREQ(4,1) 12PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
13# pragma GCC visibility push(hidden)
14#endif
15 13
16/* order matters: used as index into "install_dir[]" in appletlib.c */ 14/* order matters: used as index into "install_dir[]" in appletlib.c */
17typedef enum bb_install_loc_t { 15typedef enum bb_install_loc_t {
@@ -71,8 +69,6 @@ int lbb_main(char **argv);
71#endif 69#endif
72#endif 70#endif
73 71
74#if __GNUC_PREREQ(4,1) 72POP_SAVED_FUNCTION_VISIBILITY
75# pragma GCC visibility pop
76#endif
77 73
78#endif /* _BB_INTERNAL_H_ */ 74#endif