summaryrefslogtreecommitdiff
path: root/Python/_warnings.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2018-09-12 10:33:44 -0700
committerBenjamin Peterson <benjamin@python.org>2018-09-12 10:40:45 -0700
commitb21f3d99eeee630889b5d235cd3af646d620a6a9 (patch)
treea44be668e2beaee79da3ece92f1ac05e0ed4a7a6 /Python/_warnings.c
parentf52237400b9960d434c5d0676a3479b8c1e8c869 (diff)
downloadcpython-git-benjamin-pyapi.tar.gz
closes bpo-34646: Remove PyAPI_* macros from declarations.benjamin-pyapi
Diffstat (limited to 'Python/_warnings.c')
-rw-r--r--Python/_warnings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/_warnings.c b/Python/_warnings.c
index 2229206b25..8e1c01d0b2 100644
--- a/Python/_warnings.c
+++ b/Python/_warnings.c
@@ -1004,7 +1004,7 @@ PyErr_WarnEx(PyObject *category, const char *text, Py_ssize_t stack_level)
#undef PyErr_Warn
-PyAPI_FUNC(int)
+int
PyErr_Warn(PyObject *category, const char *text)
{
return PyErr_WarnEx(category, text, 1);