summaryrefslogtreecommitdiffstats
path: root/plugins/utils.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/utils.h.in')
-rw-r--r--plugins/utils.h.in7
1 files changed, 2 insertions, 5 deletions
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 {
52 long tv_usec; /* microseconds */ 52 long tv_usec; /* microseconds */
53}; 53};
54 54
55struct 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
61double delta_time (struct timeval tv);
62
66/* Handle strings safely */ 63/* Handle strings safely */
67 64
68void strip (char *buffer); 65void strip (char *buffer);