From: Arne Schwabe Date: Sat, 19 Nov 2016 16:35:56 +0100 Message-Id: <1479569756-23302-1-git-send-email-arne@...1227...> Subject: [Openvpn-devel] [PATCH] Remove compat-stdbool.h. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: openvpn-devel@lists.sourceforge.net Since we use C99, we are guaranteed to have stdbool.h available --- 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 9941218..0000000 --- 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 8de7d87..f5008b7 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.9.3 (Apple Git-75)