From 1d36c537a723da06ff4ade8cbce1cf2cf2787f63 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 9 Feb 2017 12:08:55 +0100 Subject: libqmi-glib,client: qmi_client_process_indication() is private --- docs/reference/libqmi-glib/libqmi-glib-common.sections | 1 + src/libqmi-glib/qmi-client.c | 4 ++-- src/libqmi-glib/qmi-client.h | 8 ++++++-- src/libqmi-glib/qmi-device.c | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/reference/libqmi-glib/libqmi-glib-common.sections b/docs/reference/libqmi-glib/libqmi-glib-common.sections index 891d9be..0e0f519 100644 --- a/docs/reference/libqmi-glib/libqmi-glib-common.sections +++ b/docs/reference/libqmi-glib/libqmi-glib-common.sections @@ -26,6 +26,7 @@ qmi_client_get_cid qmi_client_get_version qmi_client_check_version qmi_client_get_next_transaction_id + qmi_client_process_indication QmiClientClass diff --git a/src/libqmi-glib/qmi-client.c b/src/libqmi-glib/qmi-client.c index 4d5bf8b..8345dde 100644 --- a/src/libqmi-glib/qmi-client.c +++ b/src/libqmi-glib/qmi-client.c @@ -229,8 +229,8 @@ qmi_client_get_next_transaction_id (QmiClient *self) /*****************************************************************************/ void -qmi_client_process_indication (QmiClient *self, - QmiMessage *message) +__qmi_client_process_indication (QmiClient *self, + QmiMessage *message) { if (QMI_CLIENT_GET_CLASS (self)->process_indication) QMI_CLIENT_GET_CLASS (self)->process_indication (self, message); diff --git a/src/libqmi-glib/qmi-client.h b/src/libqmi-glib/qmi-client.h index c0f3ac5..3d4990f 100644 --- a/src/libqmi-glib/qmi-client.h +++ b/src/libqmi-glib/qmi-client.h @@ -91,8 +91,12 @@ gboolean qmi_client_check_version (QmiClient *self, guint16 qmi_client_get_next_transaction_id (QmiClient *self); /* not part of the public API */ -void qmi_client_process_indication (QmiClient *self, - QmiMessage *message); + +#if defined (LIBQMI_GLIB_COMPILATION) +G_GNUC_INTERNAL +void __qmi_client_process_indication (QmiClient *self, + QmiMessage *message); +#endif G_END_DECLS diff --git a/src/libqmi-glib/qmi-device.c b/src/libqmi-glib/qmi-device.c index 5827fe6..9fab5e1 100644 --- a/src/libqmi-glib/qmi-device.c +++ b/src/libqmi-glib/qmi-device.c @@ -1568,7 +1568,7 @@ process_indication_idle (IdleIndicationContext *ctx) g_assert (ctx->client != NULL); g_assert (ctx->message != NULL); - qmi_client_process_indication (ctx->client, ctx->message); + __qmi_client_process_indication (ctx->client, ctx->message); g_object_unref (ctx->client); qmi_message_unref (ctx->message); -- cgit v1.1