Diff between 46370e59fc1c5da15065cf81d9cd29bf3e92bc7a and 9169be4ff8b4dcf24098fb1cd3fe7bed429b5481

Changed Files

File Additions Deletions Status
profiles/audio/player.c +1 -1 modified
profiles/audio/player.h +0 -1 modified

Full Patch

diff --git a/profiles/audio/player.c b/profiles/audio/player.c
index b04d99e..6773b43 100644
--- a/profiles/audio/player.c
+++ b/profiles/audio/player.c
@@ -313,7 +313,7 @@ struct media_player *media_player_controller_create(const char *path)
 	return mp;
 }
 
-uint32_t media_player_get_position(struct media_player *mp)
+static uint32_t media_player_get_position(struct media_player *mp)
 {
 	double timedelta;
 	uint32_t sec, msec;
diff --git a/profiles/audio/player.h b/profiles/audio/player.h
index 4a6a9cc..87dfb66 100644
--- a/profiles/audio/player.h
+++ b/profiles/audio/player.h
@@ -32,7 +32,6 @@ struct media_player_callback {
 
 struct media_player *media_player_controller_create(const char *path);
 void media_player_destroy(struct media_player *mp);
-uint32_t media_player_get_position(struct media_player *mp);
 void media_player_set_position(struct media_player *mp, uint32_t position);
 void media_player_set_setting(struct media_player *mp, const char *key,
 							const char *value);