diff --git a/processes.c b/processes.c index 8886e14..65800b1 100644 --- a/processes.c +++ b/processes.c @@ -26,13 +26,13 @@ #include "log.h" /* Removes cnx from probing list */ -void remove_probing_cnx(struct loop_info* fd_info, struct connection* cnx) +static void remove_probing_cnx(struct loop_info* fd_info, struct connection* cnx) { gap_remove_ptr(fd_info->probing_list, cnx, fd_info->num_probing); fd_info->num_probing--; } -void add_probing_cnx(struct loop_info* fd_info, struct connection* cnx) +static void add_probing_cnx(struct loop_info* fd_info, struct connection* cnx) { gap_set(fd_info->probing_list, fd_info->num_probing, cnx); fd_info->num_probing++; diff --git a/processes.h b/processes.h index c2c89d5..4abc91e 100644 --- a/processes.h +++ b/processes.h @@ -28,8 +28,6 @@ void cnx_write_process(struct loop_info* fd_info, int fd); int cnx_accept_process(struct loop_info* fd_info, struct listen_endpoint* listen_socket); void probing_read_process(struct connection* cnx, struct loop_info* fd_info); -void remove_probing_cnx(struct loop_info* fd_info, struct connection* cnx); -void add_probing_cnx(struct loop_info* fd_info, struct connection* cnx); int tidy_connection(struct connection *cnx, struct loop_info* fd_info);