From e5024517811ee990b770fca0ba7058742d00e032 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 12 Sep 2018 12:06:42 -0700 Subject: closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218) --- Python/pystrtod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Python/pystrtod.c') diff --git a/Python/pystrtod.c b/Python/pystrtod.c index 461e8dcb5e..98aa9ba48b 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, -- cgit v1.2.1