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 /isisd/isis_pdu.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 'isisd/isis_pdu.h')
-rw-r--r-- | isisd/isis_pdu.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/isisd/isis_pdu.h b/isisd/isis_pdu.h index 1e70a42f1..b2e43781f 100644 --- a/isisd/isis_pdu.h +++ b/isisd/isis_pdu.h @@ -195,7 +195,7 @@ struct isis_partial_seqnum_hdr { /* * Function for receiving IS-IS PDUs */ -int isis_receive(struct thread *thread); +void isis_receive(struct thread *thread); /* * calling arguments for snp_process () @@ -210,10 +210,10 @@ int isis_receive(struct thread *thread); */ void send_hello_sched(struct isis_circuit *circuit, int level, long delay); int send_csnp(struct isis_circuit *circuit, int level); -int send_l1_csnp(struct thread *thread); -int send_l2_csnp(struct thread *thread); -int send_l1_psnp(struct thread *thread); -int send_l2_psnp(struct thread *thread); +void send_l1_csnp(struct thread *thread); +void send_l2_csnp(struct thread *thread); +void send_l1_psnp(struct thread *thread); +void send_l2_psnp(struct thread *thread); void send_lsp(struct isis_circuit *circuit, struct isis_lsp *lsp, enum isis_tx_type tx_type); void fill_fixed_hdr(uint8_t pdu_type, struct stream *stream); |