[PATCH] sched: cleanup, convert sched.c-internal typedefs to struct