X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=pceplib%2Fpcep_pcc.c;h=92a968ef78249a6074f9109285494ed34b36bcec;hb=12906cb1c84b4de54874365d4a02a040ed9632d1;hp=18ccf250ae83ad643a5e164faa0e24753ff93272;hpb=ef013a6985f5d522451a5d4ffec70205fef13d71;p=mirror_frr.git
diff --git a/pceplib/pcep_pcc.c b/pceplib/pcep_pcc.c
index 18ccf250a..92a968ef7 100644
--- a/pceplib/pcep_pcc.c
+++ b/pceplib/pcep_pcc.c
@@ -1,21 +1,9 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
* This file is part of the PCEPlib, a PCEP protocol library.
*
* Copyright (C) 2020 Volta Networks https://voltanet.io/
*
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program. If not, see .
- *
* Author : Brady Johnson
*
*/
@@ -74,7 +62,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 +198,7 @@ void handle_signal_action(int sig_number)
}
}
-
-int setup_signals()
+static int setup_signals(void)
{
struct sigaction sa;
memset(&sa, 0, sizeof(sa));