remove obsolete declaration

This commit is contained in:
yrutschle 2021-11-07 13:13:41 +01:00
parent e28fa91b0f
commit a80e2ceb27

View File

@ -36,6 +36,7 @@
#include "probe.h"
#include "udp-listener.h"
#include "collection.h"
#include "processes.h"
#include "gap.h"
#include "log.h"
@ -46,11 +47,9 @@ struct watchers {
fd_set fds_r, fds_w; /* reference fd sets (used to init working copies) */
int max_fd; /* Highest fd number to pass to select() */
};
#define WATCHERS_TYPE_DEFINED /* To notify processes.h */
#include "processes.h"
static void watchers_init(watchers** w, struct listen_endpoint* listen_sockets,
static void watchers_init(watchers** w, struct listen_endpoint* listen_sockets,
int num_addr_listen)
{
*w = malloc(sizeof(**w));