Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / src / gmxlib / selection / symrec.c
index bd81e92cffa6a155a0a33962cae71d77a503a6e1..2e40096a24d8adc59c89a461201e2c88b66e03d1 100644 (file)
@@ -267,7 +267,7 @@ _gmx_sel_symtab_free(gmx_sel_symtab_t *tab)
  * begins with \p name if a unique matching symbol is found.
  */
 gmx_sel_symrec_t *
-_gmx_sel_find_symbol(gmx_sel_symtab_t *tab, const char *name, bool bExact)
+_gmx_sel_find_symbol(gmx_sel_symtab_t *tab, const char *name, gmx_bool bExact)
 {
     return _gmx_sel_find_symbol_len(tab, name, strlen(name), bExact);
 }
@@ -288,12 +288,12 @@ _gmx_sel_find_symbol(gmx_sel_symtab_t *tab, const char *name, bool bExact)
  */
 gmx_sel_symrec_t *
 _gmx_sel_find_symbol_len(gmx_sel_symtab_t *tab, const char *name, size_t len,
-                         bool bExact)
+                         gmx_bool bExact)
 {
     gmx_sel_symrec_t *sym;
     gmx_sel_symrec_t *match;
-    bool              bUnique;
-    bool              bMatch;
+    gmx_bool              bUnique;
+    gmx_bool              bMatch;
 
     match = NULL;
     bUnique = TRUE;