]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Remove compat-stdbool.h.
authorArne Schwabe <arne@rfc2549.org>
Sat, 19 Nov 2016 15:35:56 +0000 (16:35 +0100)
committerGert Doering <gert@greenie.muc.de>
Sat, 19 Nov 2016 19:02:22 +0000 (20:02 +0100)
Since we use C99, we are guaranteed to have stdbool.h available
Acked-by: Gert Doering <gert@greenie.muc.de>
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 <gert@greenie.muc.de>
src/compat/compat-stdbool.h [deleted file]
src/openvpn/syshead.h

diff --git a/src/compat/compat-stdbool.h b/src/compat/compat-stdbool.h
deleted file mode 100644 (file)
index 9941218..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef __COMPAT_STDBOOL_H
-#define __COMPAT_STDBOOL_H
-
-#ifdef HAVE_STDBOOL_H
-#include <stdbool.h>
-#else
-typedef int bool;
-#define false 0
-#define true 1
-#endif
-
-#endif
index 8de7d87293d2329e02d84b7ad6964655e16cb436..f5008b792bbf69f0c580e8eb9d6e397aeb742d36 100644 (file)
@@ -26,7 +26,7 @@
 #define SYSHEAD_H
 
 #include "compat.h"
-#include "compat-stdbool.h"
+#include <stdbool.h>
 
 /* branch prediction hints */
 #if defined(__GNUC__)