diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-03-06 17:01:42 -0500 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-03-12 14:57:05 -0400 | 
| commit | 8068a649a79409737dfa5235a84915b544d4fff7 (patch) | |
| tree | 3c5dff3b68589522e502c66519140b6124de1a28 /zebra/zebra_ptm.h | |
| parent | 3fc174e18c080416932fff5e8cb3a08f0d9f8660 (diff) | |
zebra: dont return a status code in zapi handlers
All of the ZAPI message handlers return an integer that means different
things to each of them, but nobody ever reads these integers, so this is
technical debt that we can just eliminate outright.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_ptm.h')
| -rw-r--r-- | zebra/zebra_ptm.h | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/zebra/zebra_ptm.h b/zebra/zebra_ptm.h index 392853b599..2397d53845 100644 --- a/zebra/zebra_ptm.h +++ b/zebra/zebra_ptm.h @@ -62,12 +62,12 @@ int zebra_ptm_connect(struct thread *t);  void zebra_ptm_write(struct vty *vty);  int zebra_ptm_get_enable_state(void); -int zebra_ptm_bfd_dst_register(struct zserv *client, u_short length, -			       int command, struct zebra_vrf *zvrf); -int zebra_ptm_bfd_dst_deregister(struct zserv *client, u_short length, -				 struct zebra_vrf *zvrf); +void zebra_ptm_bfd_dst_register(struct zserv *client, u_short length, +				int command, struct zebra_vrf *zvrf); +void zebra_ptm_bfd_dst_deregister(struct zserv *client, u_short length, +				  struct zebra_vrf *zvrf);  void zebra_ptm_show_status(struct vty *vty, struct interface *ifp); -int zebra_ptm_bfd_client_register(struct zserv *client, u_short length); +void zebra_ptm_bfd_client_register(struct zserv *client, u_short length);  void zebra_ptm_if_init(struct zebra_if *zebra_ifp);  void zebra_ptm_if_set_ptm_state(struct interface *ifp,  				struct zebra_if *zebra_ifp);  | 
