diff options
author | Donald Sharp <donaldsharp72@gmail.com> | 2022-10-26 02:04:43 +0200 |
---|---|---|
committer | Donald Sharp <donaldsharp72@gmail.com> | 2022-10-26 02:04:43 +0200 |
commit | 2816045a6edf64db6c5018db54a33aa4f66fca58 (patch) | |
tree | 409968bd084745d4acad15342321ebabd360be6f /pceplib/pcep_socket_comm.c | |
parent | Merge pull request #12151 from louis-6wind/fix-mpls-te (diff) | |
download | frr-2816045a6edf64db6c5018db54a33aa4f66fca58.tar.xz frr-2816045a6edf64db6c5018db54a33aa4f66fca58.zip |
pceplib: Fix clang-16 not happy with build
In this case it was functions without a prototype
Signed-off-by: Donald Sharp <donaldsharp72@gmail.com>
Diffstat (limited to 'pceplib/pcep_socket_comm.c')
-rw-r--r-- | pceplib/pcep_socket_comm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pceplib/pcep_socket_comm.c b/pceplib/pcep_socket_comm.c index e22eb6e67..4a97c8489 100644 --- a/pceplib/pcep_socket_comm.c +++ b/pceplib/pcep_socket_comm.c @@ -62,7 +62,7 @@ int socket_fd_node_compare(void *list_entry, void *new_entry) } -bool initialize_socket_comm_pre() +bool initialize_socket_comm_pre(void) { socket_comm_handle_ = pceplib_malloc(PCEPLIB_INFRA, sizeof(pcep_socket_comm_handle)); @@ -129,7 +129,7 @@ bool initialize_socket_comm_external_infra( return true; } -bool initialize_socket_comm_loop() +bool initialize_socket_comm_loop(void) { if (socket_comm_handle_ != NULL) { /* already initialized */ @@ -152,7 +152,7 @@ bool initialize_socket_comm_loop() } -bool destroy_socket_comm_loop() +bool destroy_socket_comm_loop(void) { socket_comm_handle_->active = false; |