summary refs log tree commit diff
path: root/libnm-core/nm-core-internal.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2018-05-11 22:08:45 +0200
committerMichael Biebl <biebl@debian.org>2018-05-11 22:08:45 +0200
commitee9c73a923909e23a649407be77e25235d769e25 (patch)
treee21c923621fa278e737da693df9eb60ea31a6067 /libnm-core/nm-core-internal.h
parentf60117b41d5433be1b4a96d82cd11d0c3dce9b63 (diff)
New upstream version 1.10.8 upstream/1.10.8
Diffstat (limited to 'libnm-core/nm-core-internal.h')
-rw-r--r--libnm-core/nm-core-internal.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/libnm-core/nm-core-internal.h b/libnm-core/nm-core-internal.h
index 7260ebfd..15e5dc2a 100644
--- a/libnm-core/nm-core-internal.h
+++ b/libnm-core/nm-core-internal.h
@@ -31,9 +31,6 @@
  * statically against libnm-core. This basically means libnm-core, libnm, NetworkManager
  * and some test programs.
  **/
-#if !((NETWORKMANAGER_COMPILATION) & NM_NETWORKMANAGER_COMPILATION_WITH_LIBNM_CORE_INTERNAL)
-#error Cannot use this header.
-#endif
 
 
 #include "nm-connection.h"
@@ -219,8 +216,6 @@ GHashTable *_nm_utils_copy_strdict (GHashTable *strdict);
 
 typedef gpointer (*NMUtilsCopyFunc) (gpointer);
 
-const char **_nm_ip_address_get_attribute_names (const NMIPAddress *addr, gboolean sorted, guint *out_length);
-
 gboolean _nm_ip_route_attribute_validate_all (const NMIPRoute *route);
 const char **_nm_ip_route_get_attribute_names (const NMIPRoute *route, gboolean sorted, guint *out_length);
 GHashTable *_nm_ip_route_get_attributes_direct (NMIPRoute *route);
@@ -496,17 +491,4 @@ gboolean _nm_utils_string_append_tc_tfilter_rest (GString *string,
 
 /*****************************************************************************/
 
-static inline gboolean
-_nm_connection_type_is_master (const char *type)
-{
-	return (NM_IN_STRSET (type,
-	                      NM_SETTING_BOND_SETTING_NAME,
-	                      NM_SETTING_BRIDGE_SETTING_NAME,
-	                      NM_SETTING_TEAM_SETTING_NAME,
-	                      NM_SETTING_OVS_BRIDGE_SETTING_NAME,
-	                      NM_SETTING_OVS_PORT_SETTING_NAME));
-}
-
-/*****************************************************************************/
-
 #endif