commit | e468d55998e134dac1b18d5d9d075ffd5691c827 | [log] [tgz] |
---|---|---|
author | Godbach <nylzhaowei@gmail.com> | Mon Jul 28 17:31:57 2014 +0800 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jul 29 11:03:14 2014 +0200 |
tree | a66343c206f2c8e77bbacd2b7dc97bcad2bc22cd | |
parent | 3b9a0c9d4d083d749846d66f9bd4caabafe4ee78 [diff] |
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>