mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 15:36:25 +00:00
pceplib: fix for -Wstrict-prototypes
Just some "void" missing between empty braces. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
14040553bc
commit
c17662db53
@ -250,7 +250,7 @@ struct pcep_object_tlv_header *(*const tlv_decoders[MAX_TLV_ENCODER_INDEX])(
|
||||
[PCEP_OBJ_TLV_TYPE_OBJECTIVE_FUNCTION_LIST] = pcep_decode_tlv_of_list,
|
||||
};
|
||||
|
||||
static void initialize_tlv_coders()
|
||||
static void initialize_tlv_coders(void)
|
||||
{
|
||||
static bool initialized = false;
|
||||
|
||||
|
@ -52,7 +52,7 @@ int session_id_ = 0;
|
||||
|
||||
void send_pcep_open(pcep_session *session); /* forward decl */
|
||||
|
||||
static bool run_session_logic_common()
|
||||
static bool run_session_logic_common(void)
|
||||
{
|
||||
if (session_logic_handle_ != NULL) {
|
||||
pcep_log(LOG_WARNING,
|
||||
@ -369,7 +369,7 @@ void pcep_session_cancel_timers(pcep_session *session)
|
||||
}
|
||||
|
||||
/* Internal util function */
|
||||
static int get_next_session_id()
|
||||
static int get_next_session_id(void)
|
||||
{
|
||||
if (session_id_ == INT_MAX) {
|
||||
session_id_ = 0;
|
||||
|
@ -75,7 +75,7 @@ int timer_list_node_timer_ptr_compare(void *list_entry, void *new_entry)
|
||||
}
|
||||
|
||||
/* internal util method */
|
||||
static pcep_timers_context *create_timers_context_()
|
||||
static pcep_timers_context *create_timers_context_(void)
|
||||
{
|
||||
if (timers_context_ == NULL) {
|
||||
timers_context_ = pceplib_malloc(PCEPLIB_INFRA,
|
||||
|
Loading…
Reference in New Issue
Block a user