summaryrefslogtreecommitdiffstats
path: root/pceplib/pcep_pcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'pceplib/pcep_pcc.c')
-rw-r--r--pceplib/pcep_pcc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pceplib/pcep_pcc.c b/pceplib/pcep_pcc.c
index 18ccf250a..47e357729 100644
--- a/pceplib/pcep_pcc.c
+++ b/pceplib/pcep_pcc.c
@@ -74,7 +74,6 @@ static const short DEFAULT_SRC_TCP_PORT = 4999;
// Private fn's
struct cmd_line_args *get_cmdline_args(int argc, char *argv[]);
void handle_signal_action(int sig_number);
-int setup_signals(void);
void send_pce_path_request_message(pcep_session *session);
void send_pce_report_message(pcep_session *session);
void print_queue_event(struct pcep_event *event);
@@ -211,8 +210,7 @@ void handle_signal_action(int sig_number)
}
}
-
-int setup_signals()
+static int setup_signals(void)
{
struct sigaction sa;
memset(&sa, 0, sizeof(sa));