src/utils_cmd_*.[ch]: Remove unused and redundant includes.
authorFlorian Forster <octo@collectd.org>
Tue, 6 Dec 2016 09:55:42 +0000 (10:55 +0100)
committerFlorian Forster <octo@collectd.org>
Tue, 6 Dec 2016 09:55:42 +0000 (10:55 +0100)
src/utils_cmd_flush.c
src/utils_cmd_flush.h
src/utils_cmd_putval.c
src/utils_cmd_putval.h

index 48243e6..a8de21a 100644 (file)
@@ -31,7 +31,6 @@
 #include "common.h"
 #include "plugin.h"
 #include "utils_cmd_flush.h"
-#include "utils_parse_option.h"
 
 cmd_status_t cmd_parse_flush(size_t argc, char **argv, cmd_flush_t *ret_flush,
                              const cmd_options_t *opts,
index 57b9085..d9b4e1b 100644 (file)
 #ifndef UTILS_CMD_FLUSH_H
 #define UTILS_CMD_FLUSH_H 1
 
-#include <stdio.h>
-
 #include "utils_cmds.h"
 
+#include <stdio.h>
+
 cmd_status_t cmd_parse_flush(size_t argc, char **argv, cmd_flush_t *ret_flush,
                              const cmd_options_t *opts,
                              cmd_error_handler_t *err);
index e045533..817f954 100644 (file)
 #include "collectd.h"
 
 #include "common.h"
-#include "plugin.h"
-
-#include "utils_cmd_putval.h"
 #include "utils_cmd_putval.h"
-#include "utils_cmds.h"
-#include "utils_parse_option.h"
 
 /*
  * private helper functions
index 75cd190..bc6e193 100644 (file)
 #ifndef UTILS_CMD_PUTVAL_H
 #define UTILS_CMD_PUTVAL_H 1
 
-#include <stdio.h>
-
 #include "plugin.h"
 #include "utils_cmds.h"
 
+#include <stdio.h>
+
 cmd_status_t cmd_parse_putval(size_t argc, char **argv,
                               cmd_putval_t *ret_putval,
                               const cmd_options_t *opts,