Merge branch 'collectd-5.7' into collectd-5.8
[collectd.git] / src / daemon / globals.h
index b4eb5f6..bc11d6b 100644 (file)
@@ -1,6 +1,6 @@
 /**
  * collectd - src/globals.h
- * Copyright (C) 2017  Florian octo Forster
+ * Copyright (C) 2017  Google LLC
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
 
 #include <inttypes.h>
 
-#if HAVE_KSTAT_H
-#include <kstat.h>
-#endif
-
 #ifndef DATA_MAX_NAME_LEN
 #define DATA_MAX_NAME_LEN 128
 #endif
@@ -40,8 +36,8 @@ typedef uint64_t cdtime_t;
 /* hostname_set updates hostname_g */
 void hostname_set(char const *hostname);
 
-extern char       *hostname_g;
-extern cdtime_t   interval_g;
-extern int        pidfile_from_cli;
-extern int        timeout_g;
+extern char *hostname_g;
+extern cdtime_t interval_g;
+extern int pidfile_from_cli;
+extern int timeout_g;
 #endif /* GLOBALS_H */