From: Arne Schwabe Date: Sat, 19 Nov 2016 15:35:56 +0000 (+0100) Subject: Remove compat-stdbool.h. X-Git-Tag: v2.4_beta2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35be7e0d556a6b76e30f1e7348319e9dedf829aa;p=thirdparty%2Fopenvpn.git Remove compat-stdbool.h. Since we use C99, we are guaranteed to have stdbool.h available Acked-by: Gert Doering Message-Id: <1479569756-23302-1-git-send-email-arne@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13123.html Signed-off-by: Gert Doering --- diff --git a/src/compat/compat-stdbool.h b/src/compat/compat-stdbool.h deleted file mode 100644 index 99412188f..000000000 --- a/src/compat/compat-stdbool.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef __COMPAT_STDBOOL_H -#define __COMPAT_STDBOOL_H - -#ifdef HAVE_STDBOOL_H -#include -#else -typedef int bool; -#define false 0 -#define true 1 -#endif - -#endif diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h index 8de7d8729..f5008b792 100644 --- a/src/openvpn/syshead.h +++ b/src/openvpn/syshead.h @@ -26,7 +26,7 @@ #define SYSHEAD_H #include "compat.h" -#include "compat-stdbool.h" +#include /* branch prediction hints */ #if defined(__GNUC__)