Re: [PATCH] BUILD/CLEANUP: systemd: avoid a warning due to mixed code and declaration

2015-03-04 Thread Willy Tarreau
On Tue, Mar 03, 2015 at 11:26:14PM +0100, Cyril Bonté wrote: Gcc complains because the systemd wrapper mixed code and declaration : warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]. (...) both patches applied, thanks Cyril. Willy

[PATCH] BUILD/CLEANUP: systemd: avoid a warning due to mixed code and declaration

2015-03-03 Thread Cyril Bonté
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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/haproxy-systemd-wrapper.c