summaryrefslogtreecommitdiff
path: root/clients/common/nm-client-utils.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-03-18 08:08:04 +0100
committerThomas Haller <thaller@redhat.com>2019-03-25 09:12:32 +0100
commitd178c2572844ef689909da07dc193a7dfab406d6 (patch)
tree31951330a1560d79fbabdaf45631f0c950f4a989 /clients/common/nm-client-utils.h
parent25ef45ff3debe7d3df526f7727401116b4f3252e (diff)
downloadNetworkManager-d178c2572844ef689909da07dc193a7dfab406d6.tar.gz
libnm,cli: move cleanup macros to "shared/nm-libnm-core-utils.h"
Diffstat (limited to 'clients/common/nm-client-utils.h')
-rw-r--r--clients/common/nm-client-utils.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/clients/common/nm-client-utils.h b/clients/common/nm-client-utils.h
index a5bc05fab0..fd726ee93c 100644
--- a/clients/common/nm-client-utils.h
+++ b/clients/common/nm-client-utils.h
@@ -23,13 +23,7 @@
#include "nm-meta-setting.h"
#include "nm-active-connection.h"
#include "nm-device.h"
-
-
-#define nm_auto_unref_ip_address nm_auto (_nm_ip_address_unref)
-NM_AUTO_DEFINE_FCN0 (NMIPAddress *, _nm_ip_address_unref, nm_ip_address_unref)
-
-#define nm_auto_unref_wgpeer nm_auto (_nm_auto_unref_wgpeer)
-NM_AUTO_DEFINE_FCN0 (NMWireGuardPeer *, _nm_auto_unref_wgpeer, nm_wireguard_peer_unref)
+#include "nm-libnm-core-utils.h"
const NMObject **nmc_objects_sort_by_path (const NMObject *const*objs, gssize len);