From 81e898375bed0eeed43170629972d8cbc8e4231e Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Wed, 15 Aug 2012 22:33:44 +0200
Subject: Song: move trivial inline functions up

---
 src/song.h | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

(limited to 'src')

diff --git a/src/song.h b/src/song.h
index 441d8729b..1834b36ed 100644
--- a/src/song.h
+++ b/src/song.h
@@ -88,6 +88,18 @@ song_replace_uri(struct song *song, const char *uri);
 void
 song_free(struct song *song);
 
+static inline bool
+song_in_database(const struct song *song)
+{
+	return song->parent != NULL;
+}
+
+static inline bool
+song_is_file(const struct song *song)
+{
+	return song_in_database(song) || song->uri[0] == '/';
+}
+
 bool
 song_file_update(struct song *song);
 
@@ -107,18 +119,6 @@ song_get_uri(const struct song *song);
 double
 song_get_duration(const struct song *song);
 
-static inline bool
-song_in_database(const struct song *song)
-{
-	return song->parent != NULL;
-}
-
-static inline bool
-song_is_file(const struct song *song)
-{
-	return song_in_database(song) || song->uri[0] == '/';
-}
-
 G_END_DECLS
 
 #endif
-- 
cgit v1.2.3