From 32669bd10b3952073a3b99e828220162ffe5535a Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 9 May 2016 20:57:57 +0200 Subject: use stdbool instead of bool typedef --- include/globals.h | 1 + include/types.h | 8 -------- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'include') diff --git a/include/globals.h b/include/globals.h index dfd65ad..eab1d9f 100644 --- a/include/globals.h +++ b/include/globals.h @@ -21,6 +21,7 @@ #include #include +#include #include #define MAX_LINE_LENGTH 1024 diff --git a/include/types.h b/include/types.h index 329401a..3a17461 100644 --- a/include/types.h +++ b/include/types.h @@ -12,14 +12,6 @@ #ifndef GENSVM_TYPES_H #define GENSVM_TYPES_H -/** - * @brief Implementation of true and false - */ -typedef enum { - false=0, /**< false keyword, corresponding to 0. */ - true=1 /**< true keyword, corresponding to 1. */ -} bool; - /** * @brief type of training used in parameter grid search */ -- cgit v1.2.3