From 533f9fa2d2daedb235f8236ca68db3bc7b429005 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 20 May 2015 12:21:11 +0200 Subject: libnm: move internal dns-option helpers to "nm-core-internal.h" "nm-utils-private.h" should not be used outside of libnm-core/. core/ should only use public API or "nm-core-internal.h". Also, "nm-setting-ip-config.h" is a public header and should not contain internal defines. Move them to "nm-core-internal.h" too. Fixes: 019943bb5d9efea52392610b207dececafa6fdb3 --- libnm-core/nm-setting-ip-config.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libnm-core/nm-setting-ip-config.h') diff --git a/libnm-core/nm-setting-ip-config.h b/libnm-core/nm-setting-ip-config.h index 1e88a8bfde..b150a3178d 100644 --- a/libnm-core/nm-setting-ip-config.h +++ b/libnm-core/nm-setting-ip-config.h @@ -145,14 +145,6 @@ void nm_ip_route_set_attribute (NMIPRoute *route, #define NM_SETTING_IP_CONFIG_NEVER_DEFAULT "never-default" #define NM_SETTING_IP_CONFIG_MAY_FAIL "may-fail" -typedef struct { - const char *name; - gboolean numeric; - gboolean ipv6_only; -} DNSOptionDesc; - -extern const DNSOptionDesc dns_option_descs[]; - #define NM_SETTING_DNS_OPTION_DEBUG "debug" #define NM_SETTING_DNS_OPTION_NDOTS "ndots" #define NM_SETTING_DNS_OPTION_TIMEOUT "timeout" -- cgit v1.2.1