Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / src / tools / gmx_sdf.c
index 32cfd14ac6cda36c43acc4577f119e826cff7546..978dec73cb41fb9726dfe5b2cf063ab9e1aea865 100644 (file)
@@ -70,7 +70,7 @@ static void f_write(FILE *output,float value)
 
 
 static void do_sdf(const char *fnNDX,const char *fnTPS,const char *fnTRX, 
-                   const char *fnSDF, const char *fnREF, bool bRef, 
+                   const char *fnSDF, const char *fnREF, gmx_bool bRef, 
                    rvec cutoff, real binwidth, int mode, rvec triangle, 
                    rvec dtri, const output_env_t oenv)
 {
@@ -103,7 +103,7 @@ static void do_sdf(const char *fnNDX,const char *fnTPS,const char *fnTRX,
   gmx_rmpbc_t  gpbc=NULL;
   int        ePBC=-1;
   t_pbc      pbc;
-  bool       bTop=FALSE,bRefDone=FALSE,bInGroup=FALSE;
+  gmx_bool       bTop=FALSE,bRefDone=FALSE,bInGroup=FALSE;
   char       title[STRLEN];
 
 
@@ -696,7 +696,7 @@ int gmx_sdf(int argc,char *argv[])
     "2001, 1702 and the references cited within."
   };
   output_env_t oenv;
-  static bool bRef=FALSE;
+  static gmx_bool bRef=FALSE;
   static int mode=1;
   static rvec triangle={0.0,0.0,0.0};
   static rvec dtri={0.03,0.03,0.03};