From: Enrico Scholz Date: Tue, 21 Oct 2003 13:22:50 +0000 (+0000) Subject: make it compilable with non-C99 compilers X-Git-Tag: VERSION_0_10~1161 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c6670212de50a385264dcc4bd32c31236ffbdca;p=util-vserver.git make it compilable with non-C99 compilers git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@252 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/src/wrappers.h b/util-vserver/src/wrappers.h index e686236..9165b1a 100644 --- a/util-vserver/src/wrappers.h +++ b/util-vserver/src/wrappers.h @@ -39,10 +39,11 @@ static UNUSED void FatalErrnoError(bool condition, char const msg[]) /*@*/ { + extern int wrapper_exit_code; + if (!condition) return; perror(msg); - extern int wrapper_exit_code; exit(wrapper_exit_code); }