diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2015-02-12 17:34:02 +0100 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2015-02-23 09:24:21 +0100 |
commit | 8f60081be9017c79813c13075c6771957f72b5bd (patch) | |
tree | d7538d0619ca75aec7d3b118363a509e59c7ccbe | |
parent | 0994949ae16c72e80a6b10b9fce052664a763940 (diff) | |
download | NetworkManager-8f60081be9017c79813c13075c6771957f72b5bd.tar.gz |
nmcli: (trivial): use real parameter types in fill_output_connection() prototype
The generic pointers were remnants from the time the function was used as
a callback.
-rw-r--r-- | clients/cli/connections.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c index 610f53a9b7..98a1a40206 100644 --- a/clients/cli/connections.c +++ b/clients/cli/connections.c @@ -763,10 +763,8 @@ find_active_connection (const GPtrArray *active_cons, } static void -fill_output_connection (gpointer data, gpointer user_data, gboolean active_only) +fill_output_connection (NMConnection *connection, NmCli *nmc, gboolean active_only) { - NMConnection *connection = (NMConnection *) data; - NmCli *nmc = (NmCli *) user_data; NMSettingConnection *s_con; guint64 timestamp; time_t timestamp_real; |