change gmx_bool to bool in gmxpreprocess
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / gmxcpp.cpp
index 67a0043f1802384a59e8ca816097af20e07e6cf5..782b1290e1ee84947686d4726725a32b1af9e337 100644 (file)
@@ -85,7 +85,7 @@ typedef struct gmx_cpp {
     struct   gmx_cpp *child, *parent;
 } gmx_cpp;
 
-static gmx_bool is_word_end(char c)
+static bool is_word_end(char c)
 {
     return !(isalnum(c) || c == '_');
 }
@@ -109,7 +109,7 @@ static const char *strstrw(const char *buf, const char *word)
     return nullptr;
 }
 
-static gmx_bool find_directive(char *buf, char **name, char **val)
+static bool find_directive(char *buf, char **name, char **val)
 {
     /* Skip initial whitespace */
     while (isspace(*buf))
@@ -148,7 +148,7 @@ static gmx_bool find_directive(char *buf, char **name, char **val)
     return TRUE;
 }
 
-static gmx_bool is_ifdeffed_out(gmx_cpp_t handle)
+static bool is_ifdeffed_out(gmx_cpp_t handle)
 {
     return ((handle->nifdef > 0) && (handle->ifdefs[handle->nifdef-1] != eifTRUE));
 }
@@ -580,7 +580,7 @@ int cpp_read_line(gmx_cpp_t *handlep, int n, char buf[])
     const char *ptr, *ptr2;
     char       *name;
     char       *dname, *dval;
-    gmx_bool    bEOF;
+    bool        bEOF;
 
     if (!handle)
     {