diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2015-02-26 10:29:03 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2015-02-26 10:29:03 +0100 |
commit | f7e2a3c5981e2a743aad4b986355fe1de632e67e (patch) | |
tree | 03ecb0ade9d65b7de920710e8abce278944a800c /src/qmicli/qmicli-pbm.c | |
parent | 420800d7d59e166093a04cbae6ddddba02a019e4 (diff) | |
download | external_libqmi-f7e2a3c5981e2a743aad4b986355fe1de632e67e.zip external_libqmi-f7e2a3c5981e2a743aad4b986355fe1de632e67e.tar.gz external_libqmi-f7e2a3c5981e2a743aad4b986355fe1de632e67e.tar.bz2 |
qmicli: avoid redefining shutdown()
Diffstat (limited to 'src/qmicli/qmicli-pbm.c')
-rw-r--r-- | src/qmicli/qmicli-pbm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qmicli/qmicli-pbm.c b/src/qmicli/qmicli-pbm.c index c04c442..4df8dd8 100644 --- a/src/qmicli/qmicli-pbm.c +++ b/src/qmicli/qmicli-pbm.c @@ -106,7 +106,7 @@ context_free (Context *context) } static void -shutdown (gboolean operation_status) +operation_shutdown (gboolean operation_status) { /* Cleanup context and finish async operation */ context_free (ctx); @@ -134,7 +134,7 @@ get_all_capabilities_ready (QmiClientPbm *client, g_printerr ("error: operation failed: %s\n", error->message); g_error_free (error); - shutdown (FALSE); + operation_shutdown (FALSE); return; } @@ -142,7 +142,7 @@ get_all_capabilities_ready (QmiClientPbm *client, g_printerr ("error: couldn't get capabilities: %s\n", error->message); g_error_free (error); qmi_message_pbm_get_all_capabilities_output_unref (output); - shutdown (FALSE); + operation_shutdown (FALSE); return; } @@ -293,13 +293,13 @@ get_all_capabilities_ready (QmiClientPbm *client, } qmi_message_pbm_get_all_capabilities_output_unref (output); - shutdown (TRUE); + operation_shutdown (TRUE); } static gboolean noop_cb (gpointer unused) { - shutdown (TRUE); + operation_shutdown (TRUE); return FALSE; } |