From d02fedd5aab5d8d6047774a19eb21b27022e693d Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Wed, 16 Oct 2002 21:32:33 +0000 Subject: millisecond timimg where supported git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@125 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/utils.h.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'plugins/utils.h.in') diff --git a/plugins/utils.h.in b/plugins/utils.h.in index e910c417..5a3e1201 100644 --- a/plugins/utils.h.in +++ b/plugins/utils.h.in @@ -52,17 +52,14 @@ struct timeval { long tv_usec; /* microseconds */ }; -struct timezone { - int tz_minuteswest; /* minutes W of Greenwich */ - int tz_dsttime; /* type of dst correction */ -}; - #define gettimeofday (tvp,tz) {\ tvp->tv_usec=0;\ tvp->tv_sec=(long)time();\ } #endif +double delta_time (struct timeval tv); + /* Handle strings safely */ void strip (char *buffer); -- cgit v1.2.3-74-g34f1