projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2819 from rpv-tomsk/snmp-fix-2291-1
[collectd.git]
/
src
/
madwifi.c
diff --git
a/src/madwifi.c
b/src/madwifi.c
index
1a387b7
..
60ac3c8
100644
(file)
--- a/
src/madwifi.c
+++ b/
src/madwifi.c
@@
-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);