diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-02-23 01:04:25 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2022-02-24 01:56:04 +0100 |
commit | cc9f21da2218d95567eff1501482ce58e6600f54 (patch) | |
tree | d579c9754161d874bad6eb09c67821b65fb559ca /ospfd/ospf_packet.h | |
parent | Merge pull request #10621 from donaldsharp/cov_fun (diff) | |
download | frr-cc9f21da2218d95567eff1501482ce58e6600f54.tar.xz frr-cc9f21da2218d95567eff1501482ce58e6600f54.zip |
*: Change thread->func to return void instead of int
The int return value is never used. Modify the code
base to just return a void instead.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospfd/ospf_packet.h')
-rw-r--r-- | ospfd/ospf_packet.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ospfd/ospf_packet.h b/ospfd/ospf_packet.h index 72b87edaf..cefc9c21b 100644 --- a/ospfd/ospf_packet.h +++ b/ospfd/ospf_packet.h @@ -139,7 +139,7 @@ extern struct ospf_packet *ospf_fifo_head(struct ospf_fifo *); extern void ospf_fifo_flush(struct ospf_fifo *); extern void ospf_fifo_free(struct ospf_fifo *); -extern int ospf_read(struct thread *); +extern void ospf_read(struct thread *thread); extern void ospf_hello_send(struct ospf_interface *); extern void ospf_db_desc_send(struct ospf_neighbor *); extern void ospf_db_desc_resend(struct ospf_neighbor *); @@ -152,10 +152,10 @@ extern void ospf_ls_ack_send_delayed(struct ospf_interface *); extern void ospf_ls_retransmit(struct ospf_interface *, struct ospf_lsa *); extern void ospf_ls_req_event(struct ospf_neighbor *); -extern int ospf_ls_upd_timer(struct thread *); -extern int ospf_ls_ack_timer(struct thread *); -extern int ospf_poll_timer(struct thread *); -extern int ospf_hello_reply_timer(struct thread *); +extern void ospf_ls_upd_timer(struct thread *thread); +extern void ospf_ls_ack_timer(struct thread *thread); +extern void ospf_poll_timer(struct thread *thread); +extern void ospf_hello_reply_timer(struct thread *thread); extern const struct message ospf_packet_type_str[]; extern const size_t ospf_packet_type_str_max; |