BUG/MINOR: server: move the directive #endif to the end of file
authorGodbach <nylzhaowei@gmail.com>
Mon, 28 Jul 2014 09:31:57 +0000 (17:31 +0800)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Jul 2014 09:03:14 +0000 (11:03 +0200)
commite468d55998e134dac1b18d5d9d075ffd5691c827
treea66343c206f2c8e77bbacd2b7dc97bcad2bc22cd
parent3b9a0c9d4d083d749846d66f9bd4caabafe4ee78
BUG/MINOR: server: move the directive #endif to the end of file

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>
include/proto/server.h