X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.h;h=af0033a55b9fb29a55a63dae13426cfc984c2899;hb=f1b5b8611d87a7904c31ae4b28ea47f11f3c38b9;hp=957654bc0abcc446fd03c94fdc06b69de27878af;hpb=e0b3aa9ba8254ab29d86b294553a5413b7efa59a;p=collectd.git diff --git a/src/collectd.h b/src/collectd.h index 957654bc..af0033a5 100644 --- a/src/collectd.h +++ b/src/collectd.h @@ -56,21 +56,6 @@ #if HAVE_STDINT_H # include #endif -#if HAVE_STDBOOL_H -# include -#else -# ifndef HAVE__BOOL -# ifdef __cplusplus -typedef bool _Bool; -# else -# define _Bool signed char -# endif -# endif -# define bool _Bool -# define false 0 -# define true 1 -# define __bool_true_false_are_defined 1 -#endif #if HAVE_UNISTD_H # include #endif @@ -298,7 +283,11 @@ typedef bool _Bool; # endif #endif -extern char hostname_g[]; -extern int interval_g; +/* Type for time as used by "utils_time.h" */ +typedef uint64_t cdtime_t; + +extern char hostname_g[]; +extern cdtime_t interval_g; +extern int timeout_g; #endif /* COLLECTD_H */