@@ -952,7 +952,7 @@ test_buildvalue_N_error(const char *fmt)
952952}
953953
954954static PyObject *
955- test_buildvalue_N (PyObject * self , PyObject * noargs )
955+ test_buildvalue_N (PyObject * self , PyObject * Py_UNUSED ( ignored ) )
956956{
957957 PyObject * arg , * res ;
958958
@@ -2351,7 +2351,7 @@ pending_threadfunc(PyObject *self, PyObject *arg)
23512351
23522352/* Some tests of PyUnicode_FromFormat(). This needs more tests. */
23532353static PyObject *
2354- test_string_from_format (PyObject * self , PyObject * args )
2354+ test_string_from_format (PyObject * self , PyObject * Py_UNUSED ( ignored ) )
23552355{
23562356 PyObject * result ;
23572357 char * msg ;
@@ -2491,7 +2491,7 @@ typedef struct {
24912491} known_capsule ;
24922492
24932493static PyObject *
2494- test_capsule (PyObject * self , PyObject * args )
2494+ test_capsule (PyObject * self , PyObject * Py_UNUSED ( ignored ) )
24952495{
24962496 PyObject * object ;
24972497 const char * error = NULL ;
@@ -2863,7 +2863,7 @@ make_memoryview_from_NULL_pointer(PyObject *self)
28632863}
28642864
28652865static PyObject *
2866- test_from_contiguous (PyObject * self , PyObject * noargs )
2866+ test_from_contiguous (PyObject * self , PyObject * Py_UNUSED ( ignored ) )
28672867{
28682868 int data [9 ] = {-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 };
28692869 int init [5 ] = {0 , 1 , 2 , 3 , 4 };
@@ -2916,7 +2916,7 @@ test_from_contiguous(PyObject* self, PyObject *noargs)
29162916extern PyTypeObject _PyBytesIOBuffer_Type ;
29172917
29182918static PyObject *
2919- test_pep3118_obsolete_write_locks (PyObject * self , PyObject * noargs )
2919+ test_pep3118_obsolete_write_locks (PyObject * self , PyObject * Py_UNUSED ( ignored ) )
29202920{
29212921 PyTypeObject * type = & _PyBytesIOBuffer_Type ;
29222922 PyObject * b ;
0 commit comments