Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / include / ebin.h
index 8c4c0276f460b4a597bce321777dcd669955a143..6298789429c58b40c5f7a8bdc1f7fce671a8337d 100644 (file)
@@ -71,14 +71,14 @@ int get_ebin_space(t_ebin *eb,int nener,const char *enm[],const char *unit);
  * calls to add_ebin.
  */
 
-void add_ebin(t_ebin *eb,int index,int nener,real ener[],bool bSum);
+void add_ebin(t_ebin *eb,int index,int nener,real ener[],gmx_bool bSum);
 /* Add nener reals (eg. energies, box-lengths, pressures) to the
  * energy bin at position index. 
  * If bSum is TRUE then the reals are also added to the sum
  * and sum of squares.
  */
 
-void ebin_increase_count(t_ebin *eb,bool bSum);
+void ebin_increase_count(t_ebin *eb,gmx_bool bSum);
 /* Increase the counters for the sums.
  * This routine should be called AFTER all add_ebin calls for this step.
  */
@@ -87,7 +87,7 @@ void reset_ebin_sums(t_ebin *eb);
 /* Reset the average and fluctuation sums */
 
 void pr_ebin(FILE *fp,t_ebin *eb,int index,int nener,int nperline,
-                   int prmode,bool bPrHead);
+                   int prmode,gmx_bool bPrHead);
 /* Print the contents of the energy bin. If nener = -1 ALL energies from
  * index to the end will be printed. We will print nperline entries on a text
  * line (advisory <= 5). prmode may be any of the above listed enum values.