@@ -162,7 +162,7 @@ _testcapi_unwatch_dict_impl(PyObject *module, int watcher_id, PyObject *dict)
162162}
163163
164164static PyObject *
165- get_dict_watcher_events (PyObject * self , PyObject * Py_UNUSED (ignored ))
165+ get_dict_watcher_events (PyObject * self , PyObject * Py_UNUSED (args ))
166166{
167167 if (!g_dict_watch_events ) {
168168 PyErr_SetString (PyExc_RuntimeError , "no watchers active" );
@@ -255,7 +255,7 @@ clear_type_watcher(PyObject *self, PyObject *watcher_id)
255255}
256256
257257static PyObject *
258- get_type_modified_events (PyObject * self , PyObject * Py_UNUSED (ignored ))
258+ get_type_modified_events (PyObject * self , PyObject * Py_UNUSED (args ))
259259{
260260 if (!g_type_modified_events ) {
261261 PyErr_SetString (PyExc_RuntimeError , "no watchers active" );
@@ -413,7 +413,7 @@ get_code_watcher_num_destroyed_events(PyObject *self, PyObject *watcher_id)
413413}
414414
415415static PyObject *
416- allocate_too_many_code_watchers (PyObject * self , PyObject * Py_UNUSED (ignored ))
416+ allocate_too_many_code_watchers (PyObject * self , PyObject * Py_UNUSED (args ))
417417{
418418 int watcher_ids [CODE_MAX_WATCHERS + 1 ];
419419 int num_watchers = 0 ;
@@ -742,7 +742,7 @@ get_context_switches(PyObject *Py_UNUSED(self), PyObject *watcher_id)
742742}
743743
744744static PyObject *
745- allocate_too_many_context_watchers (PyObject * self , PyObject * Py_UNUSED (ignored ))
745+ allocate_too_many_context_watchers (PyObject * self , PyObject * Py_UNUSED (args ))
746746{
747747 int watcher_ids [CONTEXT_MAX_WATCHERS + 1 ];
748748 int num_watchers = 0 ;
0 commit comments