/* ================================================== */
-INLINE_STATIC void
+void
UTI_TimevalToDouble(struct timeval *a, double *b)
{
*b = (double)(a->tv_sec) + 1.0e-6 * (double)(a->tv_usec);
/* ================================================== */
-INLINE_STATIC void
+void
UTI_DoubleToTimeval(double a, struct timeval *b)
{
long int_part;
/* ================================================== */
-INLINE_STATIC int
+int
UTI_CompareTimevals(struct timeval *a, struct timeval *b)
{
if (a->tv_sec < b->tv_sec) {
/* ================================================== */
-INLINE_STATIC void
+void
UTI_NormaliseTimeval(struct timeval *x)
{
/* Reduce tv_usec to within +-1000000 of zero. JGH */
/* ================================================== */
-INLINE_STATIC void
+void
UTI_DiffTimevals(struct timeval *result,
struct timeval *a,
struct timeval *b)
/* ================================================== */
/* Calculate result = a - b and return as a double */
-INLINE_STATIC void
+void
UTI_DiffTimevalsToDouble(double *result,
struct timeval *a,
struct timeval *b)
/* ================================================== */
-INLINE_STATIC void
+void
UTI_AddDoubleToTimeval(struct timeval *start,
double increment,
struct timeval *end)
/* ================================================== */
/* Calculate the average and difference (as a double) of two timevals */
-INLINE_STATIC void
+void
UTI_AverageDiffTimevals (struct timeval *earlier,
struct timeval *later,
struct timeval *average,
/* Decode password encoded in ASCII or HEX */
extern int UTI_DecodePasswordFromText(char *key);
-#if defined (INLINE_UTILITIES)
-#define INLINE_STATIC inline static
-#include "util.c"
-#else
-#define INLINE_STATIC
-#endif /* defined (INLINE_UTILITIES) */
-
#endif /* GOT_UTIL_H */