Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / src / kernel / gctio.c
index 364bdc1578d9454bab556ccbffe7aa34016ae8e5..27d46ad6607d8e4ffa2d20f1a4b802be839debfc 100644 (file)
@@ -276,7 +276,7 @@ void write_gct(const char *fn,t_coupl_rec *tcr,t_idef *idef)
   gmx_fio_fclose(fp);
 }
 
-static bool add_lj(int *nLJ,t_coupl_LJ **tcLJ,char *s,bool bObsUsed[])
+static gmx_bool add_lj(int *nLJ,t_coupl_LJ **tcLJ,char *s,gmx_bool bObsUsed[])
 {
   int       j,ati,atj,eo;
   char      buf[256];
@@ -313,7 +313,7 @@ static bool add_lj(int *nLJ,t_coupl_LJ **tcLJ,char *s,bool bObsUsed[])
   return FALSE;
 }
 
-static bool add_bu(int *nBU,t_coupl_BU **tcBU,char *s,bool bObsUsed[])
+static gmx_bool add_bu(int *nBU,t_coupl_BU **tcBU,char *s,gmx_bool bObsUsed[])
 {
   int       j,ati,atj,eo;
   char      buf[256];
@@ -351,7 +351,7 @@ static bool add_bu(int *nBU,t_coupl_BU **tcBU,char *s,bool bObsUsed[])
   return FALSE;
 }
 
-static bool add_ip(int *nIP,t_coupl_iparams **tIP,char *s,int ftype,bool bObsUsed[])
+static gmx_bool add_ip(int *nIP,t_coupl_iparams **tIP,char *s,int ftype,gmx_bool bObsUsed[])
 {
   int    i,eo,type;
   char   buf[256];
@@ -394,7 +394,7 @@ static bool add_ip(int *nIP,t_coupl_iparams **tIP,char *s,int ftype,bool bObsUse
   return FALSE;
 }
 
-static bool add_q(int *nQ,t_coupl_Q **tcQ,char *s,bool bObsUsed[])
+static gmx_bool add_q(int *nQ,t_coupl_Q **tcQ,char *s,gmx_bool bObsUsed[])
 {
   int       j,ati,eo;
   char      buf[256];
@@ -431,7 +431,7 @@ void read_gct(const char *fn,t_coupl_rec *tcr)
   warninp_t wi;
   t_inpfile *inp;
   int       i,j,ninp,nQ,nLJ,nBU,nIP;
-  bool      bWrong;
+  gmx_bool      bWrong;
   
   wi = init_warning(FALSE,0);