@@ -943,7 +943,7 @@ test_buildvalue_N_error(const char *fmt)
943943}
944944
945945static PyObject *
946- test_buildvalue_N (PyObject * self , PyObject * noargs )
946+ test_buildvalue_N (PyObject * self , PyObject * Py_UNUSED ( ignored ) )
947947{
948948 PyObject * arg , * res ;
949949
@@ -2453,7 +2453,7 @@ pending_threadfunc(PyObject *self, PyObject *arg)
24532453
24542454/* Some tests of PyUnicode_FromFormat(). This needs more tests. */
24552455static PyObject *
2456- test_string_from_format (PyObject * self , PyObject * args )
2456+ test_string_from_format (PyObject * self , PyObject * Py_UNUSED ( ignored ) )
24572457{
24582458 PyObject * result ;
24592459 char * msg ;
@@ -2593,7 +2593,7 @@ typedef struct {
25932593} known_capsule ;
25942594
25952595static PyObject *
2596- test_capsule (PyObject * self , PyObject * args )
2596+ test_capsule (PyObject * self , PyObject * Py_UNUSED ( ignored ) )
25972597{
25982598 PyObject * object ;
25992599 const char * error = NULL ;
@@ -2964,7 +2964,7 @@ make_memoryview_from_NULL_pointer(PyObject *self)
29642964}
29652965
29662966static PyObject *
2967- test_from_contiguous (PyObject * self , PyObject * noargs )
2967+ test_from_contiguous (PyObject * self , PyObject * Py_UNUSED ( ignored ) )
29682968{
29692969 int data [9 ] = {-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 };
29702970 int init [5 ] = {0 , 1 , 2 , 3 , 4 };
@@ -3017,7 +3017,7 @@ test_from_contiguous(PyObject* self, PyObject *noargs)
30173017extern PyTypeObject _PyBytesIOBuffer_Type ;
30183018
30193019static PyObject *
3020- test_pep3118_obsolete_write_locks (PyObject * self , PyObject * noargs )
3020+ test_pep3118_obsolete_write_locks (PyObject * self , PyObject * Py_UNUSED ( ignored ) )
30213021{
30223022 PyTypeObject * type = & _PyBytesIOBuffer_Type ;
30233023 PyObject * b ;
0 commit comments