]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/ipc/ipc_pset.c
xnu-1699.24.8.tar.gz
[apple/xnu.git] / osfmk / ipc / ipc_pset.c
index 4e0dd2b68812b8fcd027a61183c7db48102fb719..4625271196fe73e095675dc250f5aef0f5d25b81 100644 (file)
@@ -307,7 +307,7 @@ static int      filt_machportattach(struct knote *kn);
 static void    filt_machportdetach(struct knote *kn);
 static int     filt_machport(struct knote *kn, long hint);
 static void     filt_machporttouch(struct knote *kn, struct kevent64_s *kev, long type);
-static int     filt_machportpeek(struct knote *kn);
+static unsigned filt_machportpeek(struct knote *kn);
 struct filterops machport_filtops = {
         .f_attach = filt_machportattach,
         .f_detach = filt_machportdetach,
@@ -515,7 +515,7 @@ filt_machporttouch(struct knote *kn, struct kevent64_s *kev, long type)
  * will catch changes in this status when the event gets posted
  * up to the knote's kqueue).
  */
-static int
+static unsigned
 filt_machportpeek(struct knote *kn)
 {
         ipc_pset_t              pset = kn->kn_ptr.p_pset;