This commit is contained in:
2018-07-19 00:05:18 +02:00
parent 7dc6ab58c2
commit a89f2064b2
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -51,7 +51,7 @@
* the child process or -1 if there is a fork error.
*/
int
run_tcp_server(fko_srv_options_t *opts, int family)
run_tcp_server(fko_srv_options_t *opts, const int family)
{
#if !CODE_COVERAGE
pid_t pid, ppid;
+1 -1
View File
@@ -32,7 +32,7 @@
/* Function prototypes
*/
int run_tcp_server(fko_srv_options_t *opts, int family);
int run_tcp_server(fko_srv_options_t *opts, const int family);
#endif /* TCP_SERVER_H */
+1 -1
View File
@@ -50,7 +50,7 @@
#include <sys/select.h>
int
run_udp_server(fko_srv_options_t *opts, int family)
run_udp_server(fko_srv_options_t *opts, const int family)
{
int s_sock, sfd_flags, selval, pkt_len;
int rv=1, chk_rm_all=0;
+1 -1
View File
@@ -32,7 +32,7 @@
/* Function prototypes
*/
int run_udp_server(fko_srv_options_t *opts, int family);
int run_udp_server(fko_srv_options_t *opts, const int family);
#endif /* UDP_SERVER_H */