mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-14 16:23:38 -05:00
If a source file includes proto/server.h twice or more, redefinition errors will be triggered for such inline functions as server_throttle_rate(), server_is_draining(), srv_adm_set_maint() and so on. Just move #endif directive to the end of file to solve this issue. Signed-off-by: Godbach <nylzhaowei@gmail.com> |
||
|---|---|---|
| .. | ||
| common | ||
| import | ||
| proto | ||
| types | ||