From 35be7e0d556a6b76e30f1e7348319e9dedf829aa Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Sat, 19 Nov 2016 16:35:56 +0100 Subject: [PATCH] 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 --- src/compat/compat-stdbool.h | 12 ------------ src/openvpn/syshead.h | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 src/compat/compat-stdbool.h 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__) -- 2.47.2