summaryrefslogtreecommitdiffstats
path: root/Include/warnings.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/warnings.h')
-rw-r--r--Include/warnings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/warnings.h b/Include/warnings.h
index 5d13431..f54eabd 100644
--- a/Include/warnings.h
+++ b/Include/warnings.h
@@ -4,7 +4,7 @@
extern "C" {
#endif
-PyAPI_FUNC(void) _PyWarnings_Init(void);
+PyAPI_FUNC(PyObject*) _PyWarnings_Init(void);
PyAPI_FUNC(int) PyErr_WarnEx(PyObject *, const char *, Py_ssize_t);
PyAPI_FUNC(int) PyErr_WarnExplicit(PyObject *, const char *, const char *, int,