]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD/CLEANUP: systemd: avoid a warning due to mixed code and declaration
authorCyril Bonté <cyril.bonte@free.fr>
Tue, 3 Mar 2015 22:26:14 +0000 (23:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Mar 2015 09:11:57 +0000 (10:11 +0100)
commitd1039e5dc5a7d08ca4451155d363d62e236b85c2
tree3ff38145694e9ded6c7e792b721a400bd6bea00d
parentc21adb5b00646a7bab812d07971ac3b9c6565eb1
BUILD/CLEANUP: systemd: avoid a warning due to mixed code and declaration

Gcc complains because the systemd wrapper mixed code and declaration :
"warning: ISO C90 forbids mixed declarations and code
[-Wdeclaration-after-statement]".
src/haproxy-systemd-wrapper.c