]> git.llucax.com Git - software/libev.git/blobdiff - ev_select.c
unset cached value - anbody has a better idea to express this?
[software/libev.git] / ev_select.c
index 3c099c5b9fb8c3bd4fc3d7364e5e94a13c310b85..1df0953b3a265a4f705b3a5314fd98b71bddfdd7 100644 (file)
@@ -200,12 +200,12 @@ select_poll (EV_P_ ev_tstamp timeout)
 #endif
 }
 
 #endif
 }
 
-static int
+int inline_size
 select_init (EV_P_ int flags)
 {
 select_init (EV_P_ int flags)
 {
-  method_fudge  = 1e-2; /* needed to compensate for select returning early, very conservative */
-  method_modify = select_modify;
-  method_poll   = select_poll;
+  backend_fudge  = 1e-2; /* needed to compensate for select returning early, very conservative */
+  backend_modify = select_modify;
+  backend_poll   = select_poll;
 
 #if EV_SELECT_USE_FD_SET
   vec_max = FD_SETSIZE / 32;
 
 #if EV_SELECT_USE_FD_SET
   vec_max = FD_SETSIZE / 32;
@@ -224,7 +224,7 @@ select_init (EV_P_ int flags)
   return EVBACKEND_SELECT;
 }
 
   return EVBACKEND_SELECT;
 }
 
-static void
+void inline_size
 select_destroy (EV_P)
 {
   ev_free (vec_ri);
 select_destroy (EV_P)
 {
   ev_free (vec_ri);