--- libaitsched/src/hooks.c 2012/08/22 23:43:36 1.14.2.3 +++ libaitsched/src/hooks.c 2012/08/22 23:47:22 1.14.2.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: hooks.c,v 1.14.2.3 2012/08/22 23:43:36 misho Exp $ +* $Id: hooks.c,v 1.14.2.4 2012/08/22 23:47:22 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -107,11 +107,11 @@ sched_hook_cancel(void *task, void *arg __unused) sched_task_t *t = task; struct kevent chg[1]; struct timespec timeout = { 0, 0 }; + register int i = 0; #ifdef AIO_SUPPORT struct aiocb *acb; #ifdef EVFILT_LIO struct aiocb **acbs; - register int i; #endif /* EVFILT_LIO */ #endif /* AIO_SUPPORT */