diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2015-12-19 11:43:17 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2015-12-19 11:44:00 +0100 |
commit | 740e1b5461bda9ff28f3ad2210ecf7238c38e785 (patch) | |
tree | 6417e56c9e1e900e97ed353e880bc07ac43f9286 | |
parent | c4ffe572aeeefac240f16822ca1d2d258f78ad8d (diff) |
telit: fix minor coding style issues
-rw-r--r-- | plugins/telit/mm-broadband-modem-telit.c | 18 | ||||
-rw-r--r-- | plugins/telit/mm-modem-helpers-telit.c | 2 | ||||
-rw-r--r-- | plugins/telit/mm-modem-helpers-telit.h | 3 |
3 files changed, 11 insertions, 12 deletions
diff --git a/plugins/telit/mm-broadband-modem-telit.c b/plugins/telit/mm-broadband-modem-telit.c index 4121ac33..d0c5eeb5 100644 --- a/plugins/telit/mm-broadband-modem-telit.c +++ b/plugins/telit/mm-broadband-modem-telit.c @@ -59,17 +59,17 @@ typedef enum { } LoadUnlockRetriesStep; typedef struct { - MMBroadbandModemTelit* self; - GSimpleAsyncResult* result; - MMUnlockRetries* retries; + MMBroadbandModemTelit *self; + GSimpleAsyncResult *result; + MMUnlockRetries *retries; LoadUnlockRetriesStep step; guint succeded_requests; } LoadUnlockRetriesContext; -static void load_unlock_retries_step (LoadUnlockRetriesContext* ctx); +static void load_unlock_retries_step (LoadUnlockRetriesContext *ctx); static void -load_unlock_retries_context_complete_and_free (LoadUnlockRetriesContext* ctx) +load_unlock_retries_context_complete_and_free (LoadUnlockRetriesContext *ctx) { g_simple_async_result_complete (ctx->result); g_object_unref (ctx->retries); @@ -92,8 +92,8 @@ modem_load_unlock_retries_finish (MMIfaceModem *self, static void csim_query_ready (MMBaseModem *self, - GAsyncResult* res, - LoadUnlockRetriesContext* ctx) + GAsyncResult *res, + LoadUnlockRetriesContext *ctx) { const gchar *response; gint unlock_retries; @@ -142,7 +142,7 @@ next_step: } static void -load_unlock_retries_step (LoadUnlockRetriesContext* ctx) +load_unlock_retries_step (LoadUnlockRetriesContext *ctx) { switch (ctx->step) { case LOAD_UNLOCK_RETRIES_STEP_FIRST: @@ -204,7 +204,7 @@ modem_load_unlock_retries (MMIfaceModem *self, GAsyncReadyCallback callback, gpointer user_data) { - LoadUnlockRetriesContext* ctx; + LoadUnlockRetriesContext *ctx; ctx = g_slice_new0 (LoadUnlockRetriesContext); ctx->self = g_object_ref (self); diff --git a/plugins/telit/mm-modem-helpers-telit.c b/plugins/telit/mm-modem-helpers-telit.c index 1ee046f0..972d51e5 100644 --- a/plugins/telit/mm-modem-helpers-telit.c +++ b/plugins/telit/mm-modem-helpers-telit.c @@ -29,7 +29,7 @@ /*****************************************************************************/ /* +CSIM response parser */ -gint parse_csim_response (const guint step, const gchar* response, GError** error) +gint parse_csim_response (const guint step, const gchar *response, GError **error) { GRegex *r = NULL; GMatchInfo *match_info = NULL; diff --git a/plugins/telit/mm-modem-helpers-telit.h b/plugins/telit/mm-modem-helpers-telit.h index ac91d20d..74f993b2 100644 --- a/plugins/telit/mm-modem-helpers-telit.h +++ b/plugins/telit/mm-modem-helpers-telit.h @@ -19,7 +19,6 @@ #include <glib.h> /* +CSIM response parser */ -gint parse_csim_response (const guint step, const gchar* response, GError** error); +gint parse_csim_response (const guint step, const gchar *response, GError **error); #endif /* MM_MODEM_HELPERS_TELIT_H */ - |