Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / src / kernel / hackblock.c
index e0a1cdf71277d43b4c61227f7a49f85758586897..c7086b9762a494733680ee9808dc9654edbfb9ba 100644 (file)
@@ -156,10 +156,10 @@ static void copy_t_rbonded(t_rbonded *s, t_rbonded *d)
   d->s = safe_strdup(s->s);
 }
 
-static bool contains_char(t_rbonded *s,char c)
+static gmx_bool contains_char(t_rbonded *s,char c)
 {
   int i;
-  bool bRet;
+  gmx_bool bRet;
   
   bRet = FALSE;
   for(i=0; i<MAXATOMLIST; i++)
@@ -169,10 +169,10 @@ static bool contains_char(t_rbonded *s,char c)
   return bRet;
 }
 
-bool merge_t_bondeds(t_rbondeds s[], t_rbondeds d[],bool bMin,bool bPlus)
+gmx_bool merge_t_bondeds(t_rbondeds s[], t_rbondeds d[],gmx_bool bMin,gmx_bool bPlus)
 {
   int i, j;
-  bool bBondsRemoved;
+  gmx_bool bBondsRemoved;
   
   bBondsRemoved = FALSE;
   for(i=0; i < ebtsNR; i++) {