projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
intel_rdt: Added check if name group is defined before updating of pids list
[collectd.git]
/
src
/
madwifi.c
diff --git
a/src/madwifi.c
b/src/madwifi.c
index
1a387b7
..
85454c3
100644
(file)
--- a/
src/madwifi.c
+++ b/
src/madwifi.c
@@
-88,9
+88,9
@@
#include "collectd.h"
#include "collectd.h"
-#include "common.h"
#include "plugin.h"
#include "plugin.h"
-#include "utils_ignorelist.h"
+#include "utils/common/common.h"
+#include "utils/ignorelist/ignorelist.h"
#include <dirent.h>
#include <sys/ioctl.h>
#include <dirent.h>
#include <sys/ioctl.h>
@@
-99,8
+99,8
@@
#error "No applicable input method."
#endif
#error "No applicable input method."
#endif
-#include <linux/wireless.h>
#include "madwifi.h"
#include "madwifi.h"
+#include <linux/wireless.h>
struct stat_spec {
uint16_t flags;
struct stat_spec {
uint16_t flags;
@@
-347,10
+347,10
@@
static const char *config_keys[] = {"Interface", "IgnoreSelected", "Source",
"MiscAdd", "MiscRemove", "MiscSet"};
static int config_keys_num = STATIC_ARRAY_SIZE(config_keys);
"MiscAdd", "MiscRemove", "MiscSet"};
static int config_keys_num = STATIC_ARRAY_SIZE(config_keys);
-static ignorelist_t *ignorelist
= NULL
;
+static ignorelist_t *ignorelist;
static int use_sysfs = 1;
static int use_sysfs = 1;
-static int init_state
= 0
;
+static int init_state;
static inline int item_watched(int i) {
assert(i >= 0);
static inline int item_watched(int i) {
assert(i >= 0);