mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-13 07:37:15 +03:00
remove obsolete declaration
This commit is contained in:
parent
e28fa91b0f
commit
a80e2ceb27
@ -36,6 +36,7 @@
|
|||||||
#include "probe.h"
|
#include "probe.h"
|
||||||
#include "udp-listener.h"
|
#include "udp-listener.h"
|
||||||
#include "collection.h"
|
#include "collection.h"
|
||||||
|
#include "processes.h"
|
||||||
#include "gap.h"
|
#include "gap.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
@ -46,11 +47,9 @@ struct watchers {
|
|||||||
fd_set fds_r, fds_w; /* reference fd sets (used to init working copies) */
|
fd_set fds_r, fds_w; /* reference fd sets (used to init working copies) */
|
||||||
int max_fd; /* Highest fd number to pass to select() */
|
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)
|
int num_addr_listen)
|
||||||
{
|
{
|
||||||
*w = malloc(sizeof(**w));
|
*w = malloc(sizeof(**w));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user