|
@@ -1065,7 +1065,8 @@ struct config *get_config(void) {
|
1065
|
1065
|
return &config;
|
1066
|
1066
|
}
|
1067
|
1067
|
|
1068
|
|
-void do_reconnect() {
|
|
1068
|
+void do_reconnect(int sig) {
|
|
1069
|
+ (void)sig;
|
1069
|
1070
|
LNODE *l, *tmp;
|
1070
|
1071
|
list_lock(config.restreamer);
|
1071
|
1072
|
list_for_each(config.restreamer, l, tmp) {
|
|
@@ -1075,12 +1076,13 @@ void do_reconnect() {
|
1075
|
1076
|
list_unlock(config.restreamer);
|
1076
|
1077
|
}
|
1077
|
1078
|
|
1078
|
|
-void do_reconf() {
|
|
1079
|
+void do_reconf(int sig) {
|
|
1080
|
+ (void)sig;
|
1079
|
1081
|
load_channels_config(&config);
|
1080
|
1082
|
spawn_proxy_threads(&config);
|
1081
|
1083
|
}
|
1082
|
1084
|
|
1083
|
|
-void init_signals() {
|
|
1085
|
+void init_signals(void) {
|
1084
|
1086
|
signal(SIGCHLD, SIG_IGN);
|
1085
|
1087
|
signal(SIGPIPE, SIG_IGN);
|
1086
|
1088
|
|