Renaming sched() to schedule()