summaryrefslogtreecommitdiff
path: root/libnm-core/nm-core-internal.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-08-27 13:11:16 +0200
committerThomas Haller <thaller@redhat.com>2018-08-30 11:17:09 +0200
commitb8a57fb2725961759bdf45f1156fa7ef2c4d0498 (patch)
treeaaa66729df6e7887825780f79e471f7cfedbbfd4 /libnm-core/nm-core-internal.h
parentdd4a6f307c5faf7b98171379ec9eb5f590d9bb2b (diff)
downloadNetworkManager-b8a57fb2725961759bdf45f1156fa7ef2c4d0498.tar.gz
libnm-core: remove unused utlity functions for GSListth/gbytes_equal_mem
I think GSList is not a great data type. Most of the time when we used it, we better had choosen another data type. These utility functions were unused, and I think we should use GSList less. Drop them.
Diffstat (limited to 'libnm-core/nm-core-internal.h')
-rw-r--r--libnm-core/nm-core-internal.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libnm-core/nm-core-internal.h b/libnm-core/nm-core-internal.h
index 23e5dd71d8..3dbbb7aa64 100644
--- a/libnm-core/nm-core-internal.h
+++ b/libnm-core/nm-core-internal.h
@@ -238,12 +238,6 @@ _nm_auto_ip_route_unref (NMIPRoute **v)
}
#define nm_auto_ip_route_unref nm_auto (_nm_auto_ip_route_unref)
-GPtrArray *_nm_utils_copy_slist_to_array (const GSList *list,
- NMUtilsCopyFunc copy_func,
- GDestroyNotify unref_func);
-GSList *_nm_utils_copy_array_to_slist (const GPtrArray *array,
- NMUtilsCopyFunc copy_func);
-
GPtrArray *_nm_utils_copy_array (const GPtrArray *array,
NMUtilsCopyFunc copy_func,
GDestroyNotify free_func);