summaryrefslogtreecommitdiff
path: root/clients/common/nm-client-utils.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-12-08 10:44:36 +0100
committerThomas Haller <thaller@redhat.com>2017-12-11 15:53:24 +0100
commit7b08331b9d333aaa33e8f025069eb05f80b15ed4 (patch)
tree006e291e068229ffa7d4a91c3aa5d931d59133e2 /clients/common/nm-client-utils.h
parent4a38e9338dd1bba68ff267d7716c6e8dd135c3d7 (diff)
downloadNetworkManager-th/cli-strsplit.tar.gz
cli: drop nmc_strsplit_set()th/cli-strsplit
In most cases, it copies the entire strv needlessly. We can do better. Also, the max_tokens argument is handled wrongly (albeit not used anywhere anymore).
Diffstat (limited to 'clients/common/nm-client-utils.h')
-rw-r--r--clients/common/nm-client-utils.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/clients/common/nm-client-utils.h b/clients/common/nm-client-utils.h
index ac18fe9475..5b2ba67837 100644
--- a/clients/common/nm-client-utils.h
+++ b/clients/common/nm-client-utils.h
@@ -32,8 +32,6 @@ typedef enum {
const char *nmc_string_is_valid (const char *input, const char **allowed, GError **error);
-char **nmc_strsplit_set (const char *str, const char *delimiter, int max_tokens);
-
gboolean nmc_string_to_uint (const char *str,
gboolean range_check,
unsigned long int min,