summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-09-03 13:11:51 +0200
committerLennart Poettering <lennart@poettering.net>2024-09-11 16:59:48 +0200
commitc87afdf23d7ab0cb00bd573dc8078045de123769 (patch)
tree8a98d90939a759e71a715cba21114bc9acef7074
parentman: fix help text for systemd-creds tool's "list" verb (diff)
downloadsystemd-c87afdf23d7ab0cb00bd573dc8078045de123769.tar.xz
systemd-c87afdf23d7ab0cb00bd573dc8078045de123769.zip
resolved: move resolved_dnssd_gperf_lookup() prototype definition to resolved-dnssd.h
-rw-r--r--src/resolve/resolved-conf.h1
-rw-r--r--src/resolve/resolved-dnssd-gperf.gperf1
-rw-r--r--src/resolve/resolved-dnssd.h2
3 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/resolved-conf.h b/src/resolve/resolved-conf.h
index 5eea6bd54b..517254bcc0 100644
--- a/src/resolve/resolved-conf.h
+++ b/src/resolve/resolved-conf.h
@@ -19,7 +19,6 @@ int manager_parse_search_domains_and_warn(Manager *m, const char *string);
int manager_parse_dns_server_string_and_warn(Manager *m, DnsServerType type, const char *string);
const struct ConfigPerfItem* resolved_gperf_lookup(const char *key, GPERF_LEN_TYPE length);
-const struct ConfigPerfItem* resolved_dnssd_gperf_lookup(const char *key, GPERF_LEN_TYPE length);
CONFIG_PARSER_PROTOTYPE(config_parse_dns_servers);
CONFIG_PARSER_PROTOTYPE(config_parse_search_domains);
diff --git a/src/resolve/resolved-dnssd-gperf.gperf b/src/resolve/resolved-dnssd-gperf.gperf
index e78573bec0..a5158390c9 100644
--- a/src/resolve/resolved-dnssd-gperf.gperf
+++ b/src/resolve/resolved-dnssd-gperf.gperf
@@ -2,7 +2,6 @@
%{
#include <stddef.h>
#include "conf-parser.h"
-#include "resolved-conf.h"
#include "resolved-dnssd.h"
%}
struct ConfigPerfItem;
diff --git a/src/resolve/resolved-dnssd.h b/src/resolve/resolved-dnssd.h
index 84f7853b81..06ad1f9705 100644
--- a/src/resolve/resolved-dnssd.h
+++ b/src/resolve/resolved-dnssd.h
@@ -66,3 +66,5 @@ int dnssd_txt_item_new_from_string(const char *key, const char *value, DnsTxtIte
int dnssd_txt_item_new_from_data(const char *key, const void *value, const size_t size, DnsTxtItem **ret_item);
int dnssd_update_rrs(DnssdService *s);
int dnssd_signal_conflict(Manager *manager, const char *name);
+
+const struct ConfigPerfItem* resolved_dnssd_gperf_lookup(const char *key, GPERF_LEN_TYPE length);