aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-02-09 12:08:55 +0100
committerAleksander Morgado <aleksander@aleksander.es>2017-02-09 12:08:55 +0100
commit1d36c537a723da06ff4ade8cbce1cf2cf2787f63 (patch)
tree8583ed545c6313f064de8ee52f7a3a1aa2285c0a
parent1a81cef432533b3cbc791926a686c40cd55255d6 (diff)
downloadexternal_libqmi-1d36c537a723da06ff4ade8cbce1cf2cf2787f63.zip
external_libqmi-1d36c537a723da06ff4ade8cbce1cf2cf2787f63.tar.gz
external_libqmi-1d36c537a723da06ff4ade8cbce1cf2cf2787f63.tar.bz2
libqmi-glib,client: qmi_client_process_indication() is private
-rw-r--r--docs/reference/libqmi-glib/libqmi-glib-common.sections1
-rw-r--r--src/libqmi-glib/qmi-client.c4
-rw-r--r--src/libqmi-glib/qmi-client.h8
-rw-r--r--src/libqmi-glib/qmi-device.c2
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
+<SUBSECTION Private>
qmi_client_process_indication
<SUBSECTION Standard>
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);