summaryrefslogtreecommitdiffstats
path: root/binding/afm-mediaplayer-binding.c
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2018-06-14 15:37:40 +0300
committerLeon Anavi <leon.anavi@konsulko.com>2018-06-14 16:10:54 +0300
commitae62677e2ba59b2714cf35fb5f29fa9cbfe7a4f4 (patch)
tree9e5fd725133fe72ec9bb550a30be4fb0ebc98db4 /binding/afm-mediaplayer-binding.c
parentb25e88665a7e71c97ff00e83310d49f92189572d (diff)
Set the opening brace at the beginning of the next line for each function. Bug-AGL: SPEC-1515 Change-Id: I8277e52fd2093e0df5ab998e990bed3d5c2ab32c Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Diffstat (limited to 'binding/afm-mediaplayer-binding.c')
-rw-r--r--binding/afm-mediaplayer-binding.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/binding/afm-mediaplayer-binding.c b/binding/afm-mediaplayer-binding.c
index 24b66bf..2a0d60d 100644
--- a/binding/afm-mediaplayer-binding.c
+++ b/binding/afm-mediaplayer-binding.c
@@ -168,7 +168,8 @@ static int set_media_uri(struct playlist_item *item)
}
-static int in_list(gconstpointer item, gconstpointer list) {
+static int in_list(gconstpointer item, gconstpointer list)
+{
return g_strcmp0(((struct playlist_item *) item)->media_path,
((struct playlist_item *) list)->media_path);
}
@@ -844,7 +845,8 @@ void *gstreamer_loop_thread(void *ptr)
g_main_loop_run(g_main_loop_new(NULL, FALSE));
}
-static int init() {
+static int init()
+{
pthread_t thread_id;
json_object *response, *query;
int ret;