1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[select] restrict_fds was called only with LIBEVENT and POLL

This commit is contained in:
Witold Filipczyk 2019-11-16 11:29:06 +01:00
parent 21b8cf37d9
commit d56ad7ceb0

View File

@ -163,6 +163,10 @@ check_bottom_halves(void)
}
}
#ifdef USE_LIBEVENT
#if defined(USE_POLL)
static void
restrict_fds(void)
{
@ -182,8 +186,7 @@ restrict_fds(void)
skip_limit:;
#endif
}
#ifdef USE_LIBEVENT
#endif /* USE_POLL */
int event_enabled = 0;