From: Stephan Bosch Date: Thu, 14 Nov 2019 23:05:29 +0000 (+0100) Subject: stats: Create stats-common.h. X-Git-Tag: 2.3.11.2~319 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=73fac164143d21af8fd52284d2d046f64663f103;p=thirdparty%2Fdovecot%2Fcore.git stats: Create stats-common.h. --- diff --git a/src/stats/Makefile.am b/src/stats/Makefile.am index edc9c55ea6..ae0c1ea678 100644 --- a/src/stats/Makefile.am +++ b/src/stats/Makefile.am @@ -43,6 +43,7 @@ libstats_local_la_SOURCES = \ stats-settings.c noinst_HEADERS = \ + stats-common.h \ client-reader.h \ client-writer.h \ event-exporter.h \ diff --git a/src/stats/client-reader.c b/src/stats/client-reader.c index 30ef71d2cc..03145fb540 100644 --- a/src/stats/client-reader.c +++ b/src/stats/client-reader.c @@ -1,6 +1,6 @@ /* Copyright (c) 2017-2018 Dovecot authors, see the included COPYING file */ -#include "lib.h" +#include "stats-common.h" #include "array.h" #include "str.h" #include "stats-dist.h" diff --git a/src/stats/client-writer.c b/src/stats/client-writer.c index e1979225d3..d9638b74bb 100644 --- a/src/stats/client-writer.c +++ b/src/stats/client-writer.c @@ -1,6 +1,6 @@ /* Copyright (c) 2017-2018 Dovecot authors, see the included COPYING file */ -#include "lib.h" +#include "stats-common.h" #include "array.h" #include "llist.h" #include "hash.h" diff --git a/src/stats/main.c b/src/stats/main.c index c635a3582f..13d6f61cf8 100644 --- a/src/stats/main.c +++ b/src/stats/main.c @@ -1,6 +1,6 @@ /* Copyright (c) 2017-2018 Dovecot authors, see the included COPYING file */ -#include "lib.h" +#include "stats-common.h" #include "restrict-access.h" #include "master-service.h" #include "master-service-settings.h" diff --git a/src/stats/stats-common.h b/src/stats/stats-common.h new file mode 100644 index 0000000000..4a0ff5558e --- /dev/null +++ b/src/stats/stats-common.h @@ -0,0 +1,6 @@ +#ifndef STATS_COMMON_H +#define STATS_COMMON_H + +#include "lib.h" + +#endif diff --git a/src/stats/stats-metrics.c b/src/stats/stats-metrics.c index 09abc91470..93968d0e6d 100644 --- a/src/stats/stats-metrics.c +++ b/src/stats/stats-metrics.c @@ -1,6 +1,6 @@ /* Copyright (c) 2017-2018 Dovecot authors, see the included COPYING file */ -#include "lib.h" +#include "stats-common.h" #include "array.h" #include "str.h" #include "stats-dist.h" diff --git a/src/stats/stats-settings.c b/src/stats/stats-settings.c index 3f0643033a..674a11f35a 100644 --- a/src/stats/stats-settings.c +++ b/src/stats/stats-settings.c @@ -1,6 +1,6 @@ /* Copyright (c) 2009-2018 Dovecot authors, see the included COPYING file */ -#include "lib.h" +#include "stats-common.h" #include "buffer.h" #include "settings-parser.h" #include "service-settings.h"