From bfc1a54cf84bb1784c14bd4f5acbb500460e35b5 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 18 Aug 2013 13:03:40 +0200 Subject: [PATCH] Re-run include-what-you-use. --- acceptor.cpp | 1 - httpinput.cpp | 2 ++ httpinput.h | 1 + input.h | 2 ++ input_stats.cpp | 3 +-- input_stats.h | 5 ++++- log.cpp | 1 + metacube2.cpp | 2 -- stream.cpp | 3 ++- udpinput.cpp | 2 ++ udpinput.h | 1 + 11 files changed, 16 insertions(+), 7 deletions(-) diff --git a/acceptor.cpp b/acceptor.cpp index 32a89fa..d4d4efb 100644 --- a/acceptor.cpp +++ b/acceptor.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include "acceptor.h" diff --git a/httpinput.cpp b/httpinput.cpp index c923145..c975a24 100644 --- a/httpinput.cpp +++ b/httpinput.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -22,6 +23,7 @@ #include "parse.h" #include "serverpool.h" #include "state.pb.h" +#include "stream.h" #include "util.h" #include "version.h" diff --git a/httpinput.h b/httpinput.h index 2273e7d..6b0c875 100644 --- a/httpinput.h +++ b/httpinput.h @@ -1,6 +1,7 @@ #ifndef _HTTPINPUT_H #define _HTTPINPUT_H 1 +#include #include #include #include diff --git a/input.h b/input.h index a00113d..5b3bbd2 100644 --- a/input.h +++ b/input.h @@ -1,6 +1,8 @@ #ifndef _INPUT_H #define _INPUT_H 1 +#include +#include #include #include "thread.h" diff --git a/input_stats.cpp b/input_stats.cpp index e3e89e6..92a6718 100644 --- a/input_stats.cpp +++ b/input_stats.cpp @@ -7,10 +7,9 @@ #include #include -#include "client.h" -#include "log.h" #include "input.h" #include "input_stats.h" +#include "log.h" #include "util.h" using namespace std; diff --git a/input_stats.h b/input_stats.h index 1149b7c..9b87506 100644 --- a/input_stats.h +++ b/input_stats.h @@ -1,10 +1,13 @@ #ifndef _INPUT_STATS_H #define _INPUT_STATS_H 1 -#include "thread.h" #include #include +#include "thread.h" + +class Input; + // A thread that regularly writes out input statistics, ie. a list of all inputs // with some information about each. Very similar to StatsThread, but for inputs instead // of clients. diff --git a/log.cpp b/log.cpp index d481cc4..b20a89f 100644 --- a/log.cpp +++ b/log.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include #include diff --git a/metacube2.cpp b/metacube2.cpp index f7e4ce2..9473dce 100644 --- a/metacube2.cpp +++ b/metacube2.cpp @@ -5,8 +5,6 @@ * in other projects. */ -#include - #include "metacube2.h" /* diff --git a/stream.cpp b/stream.cpp index 42edee9..4840b06 100644 --- a/stream.cpp +++ b/stream.cpp @@ -1,10 +1,11 @@ #include #include -#include #include +#include #include #include #include +#include #include #include diff --git a/udpinput.cpp b/udpinput.cpp index 96e0607..f4c78fe 100644 --- a/udpinput.cpp +++ b/udpinput.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include #include @@ -12,6 +13,7 @@ #include "mutexlock.h" #include "serverpool.h" #include "state.pb.h" +#include "stream.h" #include "udpinput.h" #include "util.h" #include "version.h" diff --git a/udpinput.h b/udpinput.h index caff008..11a3690 100644 --- a/udpinput.h +++ b/udpinput.h @@ -1,6 +1,7 @@ #ifndef _UDPINPUT_H #define _UDPINPUT_H 1 +#include #include #include -- 2.39.2