diff options
Diffstat (limited to 'plugins/utils.h.in')
-rw-r--r-- | plugins/utils.h.in | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/utils.h.in b/plugins/utils.h.in index e910c41..5a3e120 100644 --- a/plugins/utils.h.in +++ b/plugins/utils.h.in | |||
@@ -52,17 +52,14 @@ struct timeval { | |||
52 | long tv_usec; /* microseconds */ | 52 | long tv_usec; /* microseconds */ |
53 | }; | 53 | }; |
54 | 54 | ||
55 | struct timezone { | ||
56 | int tz_minuteswest; /* minutes W of Greenwich */ | ||
57 | int tz_dsttime; /* type of dst correction */ | ||
58 | }; | ||
59 | |||
60 | #define gettimeofday (tvp,tz) {\ | 55 | #define gettimeofday (tvp,tz) {\ |
61 | tvp->tv_usec=0;\ | 56 | tvp->tv_usec=0;\ |
62 | tvp->tv_sec=(long)time();\ | 57 | tvp->tv_sec=(long)time();\ |
63 | } | 58 | } |
64 | #endif | 59 | #endif |
65 | 60 | ||
61 | double delta_time (struct timeval tv); | ||
62 | |||
66 | /* Handle strings safely */ | 63 | /* Handle strings safely */ |
67 | 64 | ||
68 | void strip (char *buffer); | 65 | void strip (char *buffer); |