diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-06-13 16:01:40 +0300 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-30 15:15:50 +0000 |
| commit | 37836fc83ef0734fe470532e2967af7dc37960a0 (patch) | |
| tree | e2cf3eb2a01ee0456818aed045ebe957256f0331 /lib/lib_errors.h | |
| parent | 75f6c3144d3f6b5da964bea22ae77fc8c64cb787 (diff) | |
bgpd: Use enum bgp_fsm_state_progress for bgp_stop()
```
bgpd/bgp_fsm.c:1360:29: warning: conflicting types for ‘bgp_stop’ due to enum/integer mismatch; have ‘enum bgp_fsm_state_progress(struct peer *)’ [-Wenum-int-mismatch]
1360 | enum bgp_fsm_state_progress bgp_stop(struct peer *peer)
| ^~~~~~~~
In file included from bgpd/bgp_fsm.c:29:
./bgpd/bgp_fsm.h:111:12: note: previous declaration of ‘bgp_stop’ with type ‘int(struct peer *)’
111 | extern int bgp_stop(struct peer *peer);
| ^~~~~~~~
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit 58a92cb81084e33dcb291b7fef09eddccb7cef81)
Diffstat (limited to 'lib/lib_errors.h')
0 files changed, 0 insertions, 0 deletions
