summaryrefslogtreecommitdiffstats
path: root/Modules/_decimal/libmpdec/fourstep.h
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-12-22 13:18:35 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-12-22 13:18:35 (GMT)
commitfdf1a34ba113a783ed4865f810adbbbde11c8635 (patch)
treeb6a93a1342c0366aa6fc95136cf547b7b1a87e59 /Modules/_decimal/libmpdec/fourstep.h
parentfb7f580e81ed048f374cb9d624960f695ba032ba (diff)
downloadcpython-fdf1a34ba113a783ed4865f810adbbbde11c8635.zip
cpython-fdf1a34ba113a783ed4865f810adbbbde11c8635.tar.gz
cpython-fdf1a34ba113a783ed4865f810adbbbde11c8635.tar.bz2
Issue #16745: Hide symbols in _decimal.so.
Diffstat (limited to 'Modules/_decimal/libmpdec/fourstep.h')
-rw-r--r--Modules/_decimal/libmpdec/fourstep.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/_decimal/libmpdec/fourstep.h b/Modules/_decimal/libmpdec/fourstep.h
index 61d9d6a..593f27d 100644
--- a/Modules/_decimal/libmpdec/fourstep.h
+++ b/Modules/_decimal/libmpdec/fourstep.h
@@ -34,8 +34,15 @@
#include <stdio.h>
+/* Internal header file: all symbols have local scope in the DSO */
+MPD_PRAGMA(MPD_HIDE_SYMBOLS_START)
+
+
int four_step_fnt(mpd_uint_t *a, mpd_size_t n, int modnum);
int inv_four_step_fnt(mpd_uint_t *a, mpd_size_t n, int modnum);
+MPD_PRAGMA(MPD_HIDE_SYMBOLS_END) /* restore previous scope rules */
+
+
#endif