aboutsummaryrefslogtreecommitdiff
path: root/modutils/modutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/modutils.h')
-rw-r--r--modutils/modutils.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/modutils/modutils.h b/modutils/modutils.h
index 0a29ff240..086bb3977 100644
--- a/modutils/modutils.h
+++ b/modutils/modutils.h
@@ -6,14 +6,12 @@
6 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 6 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
7 */ 7 */
8 8
9#ifndef __MODUTILS_H__ 9#ifndef MODUTILS_H
10#define __MODUTILS_H__ 10#define MODUTILS_H 1
11 11
12#include "libbb.h" 12#include "libbb.h"
13 13
14#if __GNUC_PREREQ(4,1) 14PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
15# pragma GCC visibility push(hidden)
16#endif
17 15
18/* linux/include/linux/module.h has 64, but this is also used 16/* linux/include/linux/module.h has 64, but this is also used
19 * internally for the maximum alias name length, which can be quite long */ 17 * internally for the maximum alias name length, which can be quite long */
@@ -62,8 +60,6 @@ int FAST_FUNC bb_delete_module(const char *module, unsigned int flags);
62int FAST_FUNC bb_init_module_24(const char *module, const char *options); 60int FAST_FUNC bb_init_module_24(const char *module, const char *options);
63#endif 61#endif
64 62
65#if __GNUC_PREREQ(4,1) 63POP_SAVED_FUNCTION_VISIBILITY
66# pragma GCC visibility pop
67#endif
68 64
69#endif 65#endif