diff --git a/lib/parse.h b/lib/parse.h index cc2769ff9b..e5f2601434 100644 --- a/lib/parse.h +++ b/lib/parse.h @@ -26,7 +26,9 @@ #include "miofile.h" #include "error_numbers.h" #include "str_util.h" -#include "util.h" + +extern bool boinc_is_finite(double); + // avoid including util.h (kludge) // see parse_test.cpp for example usage of XML_PARSER diff --git a/lib/util.h b/lib/util.h index f209569cc9..1707367d71 100644 --- a/lib/util.h +++ b/lib/util.h @@ -43,7 +43,6 @@ static inline double drand() { return (double)rand()/(double)RAND_MAX; } extern double rand_normal(); -extern bool boinc_is_finite(double); extern void update_average(double, double, double, double, double&, double&);