Diff for /libaitsched/src/hooks.c between versions 1.38 and 1.38.2.1

version 1.38, 2022/11/29 20:15:18 version 1.38.2.1, 2022/11/30 23:40:42
Line 213  sched_hook_cancel(void *task, void *arg __unused) Line 213  sched_hook_cancel(void *task, void *arg __unused)
         struct kevent chg[1];          struct kevent chg[1];
         struct timespec timeout = { 0, 0 };          struct timespec timeout = { 0, 0 };
 #elif SUP_ENABLE == EP_SUPPORT  #elif SUP_ENABLE == EP_SUPPORT
        struct epoll_event ee = { .events = 0, .data.fd = 0 };        struct epoll_event ee = { .events = 0, .data.u64 = 0l };
 #else  #else
         register int i;          register int i;
 #endif  #endif
Line 542  sched_hook_read(void *task, void *arg) Line 542  sched_hook_read(void *task, void *arg)
         struct kevent chg[1];          struct kevent chg[1];
         struct timespec timeout = { 0, 0 };          struct timespec timeout = { 0, 0 };
 #elif SUP_ENABLE == EP_SUPPORT  #elif SUP_ENABLE == EP_SUPPORT
        struct epoll_event ee;        struct epoll_event ee = { 0 };
         int flg = 0;          int flg = 0;
 #endif  #endif
   
Line 631  sched_hook_write(void *task, void *arg) Line 631  sched_hook_write(void *task, void *arg)
         struct kevent chg[1];          struct kevent chg[1];
         struct timespec timeout = { 0, 0 };          struct timespec timeout = { 0, 0 };
 #elif SUP_ENABLE == EP_SUPPORT  #elif SUP_ENABLE == EP_SUPPORT
        struct epoll_event ee;        struct epoll_event ee = { 0 };
         int flg = 0;          int flg = 0;
 #endif  #endif
   

Removed from v.1.38  
changed lines
  Added in v.1.38.2.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>