summaryrefslogtreecommitdiffstats
path: root/Python/pystrtod.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2018-09-12 19:06:42 (GMT)
committerGitHub <noreply@github.com>2018-09-12 19:06:42 (GMT)
commite5024517811ee990b770fca0ba7058742d00e032 (patch)
tree6da191463cc8ff17b6c4ec4e4479015e851d5244 /Python/pystrtod.c
parent019f0a0cb85ebc234356415f3638b9bd77528e55 (diff)
downloadcpython-e5024517811ee990b770fca0ba7058742d00e032.zip
cpython-e5024517811ee990b770fca0ba7058742d00e032.tar.gz
cpython-e5024517811ee990b770fca0ba7058742d00e032.tar.bz2
closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218)
Diffstat (limited to 'Python/pystrtod.c')
-rw-r--r--Python/pystrtod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c
index 461e8dc..98aa9ba 100644
--- a/Python/pystrtod.c
+++ b/Python/pystrtod.c
@@ -791,7 +791,7 @@ _PyOS_ascii_formatd(char *buffer,
/* The fallback code to use if _Py_dg_dtoa is not available. */
-PyAPI_FUNC(char *) PyOS_double_to_string(double val,
+char * PyOS_double_to_string(double val,
char format_code,
int precision,
int flags,
@@ -1238,7 +1238,7 @@ format_float_short(double d, char format_code,
}
-PyAPI_FUNC(char *) PyOS_double_to_string(double val,
+char * PyOS_double_to_string(double val,
char format_code,
int precision,
int flags,