aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2016-05-09 20:57:57 +0200
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2016-05-09 20:57:57 +0200
commit32669bd10b3952073a3b99e828220162ffe5535a (patch)
treefdd057bc7d15d7b2e3145e2b4defe6e1ba8db724 /include
parentstrip whitespaces (diff)
downloadgensvm-32669bd10b3952073a3b99e828220162ffe5535a.tar.gz
gensvm-32669bd10b3952073a3b99e828220162ffe5535a.zip
use stdbool instead of bool typedef
Diffstat (limited to 'include')
-rw-r--r--include/globals.h1
-rw-r--r--include/types.h8
2 files changed, 1 insertions, 8 deletions
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 <stdio.h>
#include <stdlib.h>
+#include <stdbool.h>
#include <string.h>
#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
@@ -13,14 +13,6 @@
#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
*/
typedef enum {