mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-13 15:47:15 +03:00
make local functions static
This commit is contained in:
parent
d23a537d62
commit
da194f15f0
@ -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++;
|
||||
|
@ -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);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user