remove obsolete code

This commit is contained in:
yrutschle committed 2022-04-27 17:33:36 +02:00
1 parent 92e8a3e256
commit c78a50c1d7
3 files changed
-15

No files matched your search

-3
View File
@@ -21,8 +21,6 @@ struct loop_info {
watchers* watchers;
cnx_collection* collection; /* Collection of connections linked to this loop */
time_t next_timeout; /* time at which next UDP connection times out */
};
void cnx_read_process(struct loop_info* fd_info, int fd);
@@ -40,6 +38,5 @@ void watchers_add_read(watchers* w, int fd);
void watchers_del_read(watchers* w, int fd);
void watchers_add_write(watchers* w, int fd);
void watchers_del_write(watchers* w, int fd);
int watchers_maxfd(watchers* w);
#endif
-6
View File
@@ -110,12 +110,6 @@ void watchers_del_write(watchers* w, int fd)
if (io) ev_io_stop(EV_A_ io);
}
/* To remove after moving UDP lookups to hash table */
int watchers_maxfd(watchers* w)
{
return w->max_fd;
}
/* /watchers */
#include "processes.h"
-6
View File
@@ -84,12 +84,6 @@ void watchers_del_write(watchers* w, int fd)
FD_CLR(fd, &w->fds_w);
}
/* To remove after moving UDP lookups to hash table */
int watchers_maxfd(watchers* w)
{
return w->max_fd;
}
/* /end watchers */