From c5bc6572ab2d3c96e73e7e176a47c81db01153bd Mon Sep 17 00:00:00 2001 From: Dan Werthimer Date: Tue, 10 Jun 2003 18:50:43 +0000 Subject: [PATCH] bug fix svn path=/trunk/boinc/; revision=1346 --- lib/util.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/util.h b/lib/util.h index 0314fbb729..9e4d547810 100755 --- a/lib/util.h +++ b/lib/util.h @@ -21,6 +21,9 @@ #include #include +#ifndef _UTIL_H_ +#define _UTIL_H_ + extern int double_to_ydhms (double x, int smallest_timescale, char *buf); extern void get_byte_string(double nbytes, double total_bytes, char* str, int len); extern double dtime(); @@ -72,3 +75,5 @@ static inline int calculate_exponential_backoff(int n, double MIN) { return (int) rand_range(MIN, exp((double)n)); } + +#endif