From 68b1016245664c48a9d093a2f35f82166311d80e Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 29 Oct 2008 18:56:21 +0100 Subject: [PATCH] utils_*.h: Made header files self-hosting. Added (hopefully) all missing includes. --- src/utils_cmd_flush.h | 2 ++ src/utils_cmd_getval.h | 2 ++ src/utils_cmd_listval.h | 2 ++ src/utils_cmd_putnotif.h | 2 ++ src/utils_cmd_putval.h | 2 ++ src/utils_dns.h | 1 + src/utils_rrdcreate.h | 4 ++++ 7 files changed, 15 insertions(+) diff --git a/src/utils_cmd_flush.h b/src/utils_cmd_flush.h index dccafd15..6b54acec 100644 --- a/src/utils_cmd_flush.h +++ b/src/utils_cmd_flush.h @@ -22,6 +22,8 @@ #ifndef UTILS_CMD_FLUSH_H #define UTILS_CMD_FLUSH_H 1 +#include + int handle_flush (FILE *fh, char *buffer); #endif /* UTILS_CMD_FLUSH_H */ diff --git a/src/utils_cmd_getval.h b/src/utils_cmd_getval.h index 86134cdf..ed9ca9a3 100644 --- a/src/utils_cmd_getval.h +++ b/src/utils_cmd_getval.h @@ -22,6 +22,8 @@ #ifndef UTILS_CMD_GETVAL_H #define UTILS_CMD_GETVAL_H 1 +#include + int handle_getval (FILE *fh, char *buffer); #endif /* UTILS_CMD_GETVAL_H */ diff --git a/src/utils_cmd_listval.h b/src/utils_cmd_listval.h index 73146e78..0c72d678 100644 --- a/src/utils_cmd_listval.h +++ b/src/utils_cmd_listval.h @@ -22,6 +22,8 @@ #ifndef UTILS_CMD_LISTVAL_H #define UTILS_CMD_LISTVAL_H 1 +#include + int handle_listval (FILE *fh, char *buffer); #endif /* UTILS_CMD_LISTVAL_H */ diff --git a/src/utils_cmd_putnotif.h b/src/utils_cmd_putnotif.h index 8d5475b9..7e900b50 100644 --- a/src/utils_cmd_putnotif.h +++ b/src/utils_cmd_putnotif.h @@ -22,6 +22,8 @@ #ifndef UTILS_CMD_PUTNOTIF_H #define UTILS_CMD_PUTNOTIF_H 1 +#include + int handle_putnotif (FILE *fh, char *buffer); /* vim: set shiftwidth=2 softtabstop=2 tabstop=8 : */ diff --git a/src/utils_cmd_putval.h b/src/utils_cmd_putval.h index 9ba52cc8..8460b133 100644 --- a/src/utils_cmd_putval.h +++ b/src/utils_cmd_putval.h @@ -22,6 +22,8 @@ #ifndef UTILS_CMD_PUTVAL_H #define UTILS_CMD_PUTVAL_H 1 +#include + int handle_putval (FILE *fh, char *buffer); #endif /* UTILS_CMD_PUTVAL_H */ diff --git a/src/utils_dns.h b/src/utils_dns.h index b3f08acd..efc79031 100644 --- a/src/utils_dns.h +++ b/src/utils_dns.h @@ -36,6 +36,7 @@ #include "config.h" #include +#include #if HAVE_PCAP_H # include diff --git a/src/utils_rrdcreate.h b/src/utils_rrdcreate.h index 6208a6fc..935e4e07 100644 --- a/src/utils_rrdcreate.h +++ b/src/utils_rrdcreate.h @@ -22,6 +22,10 @@ #ifndef UTILS_RRDCREATE_H #define UTILS_RRDCREATE_H 1 +#include "plugin.h" + +#include + struct rrdcreate_config_s { int stepsize; -- 2.11.0