X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.h;h=8dd0f4263b55a1921ab5e105c354f37948226b20;hb=83077c18c3e78739c2d2d18debf99875944eaa72;hp=31aae54098a6c771767382af0bf8868811c1e1b1;hpb=5c8d44f831b549cfd6e47db39181fd5a1d9cd5b2;p=collectd.git diff --git a/src/collectd.h b/src/collectd.h index 31aae540..8dd0f426 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 @@ -294,7 +279,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 */