diff options
Diffstat (limited to 'shell/math.h')
-rw-r--r-- | shell/math.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/shell/math.h b/shell/math.h index 195fc20ba..51dbb56cb 100644 --- a/shell/math.h +++ b/shell/math.h | |||
@@ -72,8 +72,10 @@ | |||
72 | * below for the exact things that are available. | 72 | * below for the exact things that are available. |
73 | */ | 73 | */ |
74 | 74 | ||
75 | #ifndef _SHELL_MATH_ | 75 | #ifndef SHELL_MATH_H |
76 | #define _SHELL_MATH_ | 76 | #define SHELL_MATH_H 1 |
77 | |||
78 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN | ||
77 | 79 | ||
78 | #if ENABLE_SH_MATH_SUPPORT_64 | 80 | #if ENABLE_SH_MATH_SUPPORT_64 |
79 | typedef long long arith_t; | 81 | typedef long long arith_t; |
@@ -96,4 +98,6 @@ typedef struct arith_eval_hooks { | |||
96 | 98 | ||
97 | arith_t arith(const char *expr, int *perrcode, arith_eval_hooks_t*); | 99 | arith_t arith(const char *expr, int *perrcode, arith_eval_hooks_t*); |
98 | 100 | ||
101 | POP_SAVED_FUNCTION_VISIBILITY | ||
102 | |||
99 | #endif | 103 | #endif |