summaryrefslogtreecommitdiffstats
path: root/Modules/_decimal/libmpdec/numbertheory.h
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_decimal/libmpdec/numbertheory.h')
-rw-r--r--Modules/_decimal/libmpdec/numbertheory.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/_decimal/libmpdec/numbertheory.h b/Modules/_decimal/libmpdec/numbertheory.h
index f54d11d..1092254 100644
--- a/Modules/_decimal/libmpdec/numbertheory.h
+++ b/Modules/_decimal/libmpdec/numbertheory.h
@@ -34,6 +34,10 @@
#include "mpdecimal.h"
+/* Internal header file: all symbols have local scope in the DSO */
+MPD_PRAGMA(MPD_HIDE_SYMBOLS_START)
+
+
/* transform parameters */
struct fnt_params {
int modnum;
@@ -66,6 +70,9 @@ std_setmodulus(int modnum, mpd_uint_t *umod)
#endif
+MPD_PRAGMA(MPD_HIDE_SYMBOLS_END) /* restore previous scope rules */
+
+
#endif