From: William Dauchy Date: Mon, 1 Feb 2021 12:11:58 +0000 (+0100) Subject: CLEANUP: contrib/prometheus-exporter: remove unused includes X-Git-Tag: v2.4-dev7~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=99066dd47f07c6a57e4e34f3dc6364840c415800;p=thirdparty%2Fhaproxy.git CLEANUP: contrib/prometheus-exporter: remove unused includes unless I'm wrong, those includes are no longer needed. The only recent one I remember is ssl-sock include since commit 5d9b8f3c9347a1a10b86f81d70b22c3cab0e6925 ("MINOR: contrib/prometheus-exporter: use fill_info for process dump") where we make use of the code from stats.c Signed-off-by: William Dauchy --- diff --git a/contrib/prometheus-exporter/service-prometheus.c b/contrib/prometheus-exporter/service-prometheus.c index e62ad948cb..bfcc126ec8 100644 --- a/contrib/prometheus-exporter/service-prometheus.c +++ b/contrib/prometheus-exporter/service-prometheus.c @@ -19,8 +19,6 @@ #include #include #include -#include -#include #include #include #include @@ -29,12 +27,9 @@ #include #include #include -#include -#include #include #include #include -#include #include #include #include