From 0c6670212de50a385264dcc4bd32c31236ffbdca Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Tue, 21 Oct 2003 13:22:50 +0000 Subject: [PATCH] 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 --- util-vserver/src/wrappers.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 1.8.1.5