summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/methodobject.c2
-rw-r--r--Objects/object.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index a7042ca..5ad2831 100644
--- a/Objects/methodobject.c
+++ b/Objects/methodobject.c
@@ -18,7 +18,7 @@ static int numfree = 0;
/* undefine macro trampoline to PyCFunction_NewEx */
#undef PyCFunction_New
-PyAPI_FUNC(PyObject *)
+PyObject *
PyCFunction_New(PyMethodDef *ml, PyObject *self)
{
return PyCFunction_NewEx(ml, self, NULL);
diff --git a/Objects/object.c b/Objects/object.c
index 6498756..607f047 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -2180,7 +2180,7 @@ _PyTrash_thread_destroy_chain(void)
/* For Py_LIMITED_API, we need an out-of-line version of _Py_Dealloc.
Define this here, so we can undefine the macro. */
#undef _Py_Dealloc
-PyAPI_FUNC(void) _Py_Dealloc(PyObject *);
+void _Py_Dealloc(PyObject *);
void
_Py_Dealloc(PyObject *op)
{