Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.
diff --git a/Include/mymalloc.h b/Include/mymalloc.h
index 3d6ab06..fa2f8f8 100644
--- a/Include/mymalloc.h
+++ b/Include/mymalloc.h
@@ -90,9 +90,9 @@
#ifndef PyCore_MALLOC_PROTO
#undef PyCore_REALLOC_PROTO
#undef PyCore_FREE_PROTO
-#define PyCore_MALLOC_PROTO Py_PROTO((size_t))
-#define PyCore_REALLOC_PROTO Py_PROTO((ANY *, size_t))
-#define PyCore_FREE_PROTO Py_PROTO((ANY *))
+#define PyCore_MALLOC_PROTO (size_t)
+#define PyCore_REALLOC_PROTO (ANY *, size_t)
+#define PyCore_FREE_PROTO (ANY *)
#endif
#ifdef NEED_TO_DECLARE_MALLOC_AND_FRIEND
@@ -138,9 +138,9 @@
returns a non-NULL pointer, even if the underlying malloc
doesn't. Returned pointers must be checked for NULL explicitly.
No action is performed on failure. */
-extern DL_IMPORT(ANY *) PyMem_Malloc Py_PROTO((size_t));
-extern DL_IMPORT(ANY *) PyMem_Realloc Py_PROTO((ANY *, size_t));
-extern DL_IMPORT(void) PyMem_Free Py_PROTO((ANY *));
+extern DL_IMPORT(ANY *) PyMem_Malloc(size_t);
+extern DL_IMPORT(ANY *) PyMem_Realloc(ANY *, size_t);
+extern DL_IMPORT(void) PyMem_Free(ANY *);
/* Starting from Python 1.6, the wrappers Py_{Malloc,Realloc,Free} are
no longer supported. They used to call PyErr_NoMemory() on failure. */
@@ -198,7 +198,7 @@
#define PyCore_MALLOC_FUNC d_malloc
...
- #define PyCore_MALLOC_PROTO Py_PROTO((size_t, char *, unsigned long))
+ #define PyCore_MALLOC_PROTO (size_t, char *, unsigned long)
...
#define NEED_TO_DECLARE_MALLOC_AND_FRIEND