Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.
diff --git a/Objects/genobject.c b/Objects/genobject.c
index 8e5624d..5d3b66c 100644
--- a/Objects/genobject.c
+++ b/Objects/genobject.c
@@ -708,7 +708,7 @@
 PyObject *
 _PyGen_GetAwaitableIter(PyObject *o)
 {
-    getawaitablefunc getter = NULL;
+    unaryfunc getter = NULL;
     PyTypeObject *ot;
 
     if (PyGen_CheckCoroutineExact(o)) {