]> git.llucax.com Git - software/libev.git/blobdiff - ev_select.c
rmeove remaining debugging code
[software/libev.git] / ev_select.c
index 63612dcc9f31fe0aa78d8085f7fc440d16b7a5ee..5ce1db865ec53244de6f91ddaa705a57ebdb41a6 100644 (file)
@@ -79,14 +79,12 @@ static void select_poll (ev_tstamp timeout)
     }
 }
 
-int select_init (int flags)
+void select_init (int flags)
 {
-  ev_method = EVMETHOD_SELECT;
+  ev_method     = EVMETHOD_SELECT;
   method_fudge  = 1e-2; /* needed to compensate for select returning early, very conservative */
   method_modify = select_modify;
   method_poll   = select_poll;
-
-  return 1;
 }