Commit 255ee646 authored by Max Kellermann's avatar Max Kellermann

song: don't use GLib

parent 0308ec56
...@@ -31,6 +31,8 @@ extern "C" { ...@@ -31,6 +31,8 @@ extern "C" {
#include "path.h" #include "path.h"
} }
#include <glib.h>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
......
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
#include "Queue.hxx" #include "Queue.hxx"
#include "song.h" #include "song.h"
#include <glib.h>
#include <stdlib.h> #include <stdlib.h>
queue::queue(unsigned _max_length) queue::queue(unsigned _max_length)
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
#include "song.h" #include "song.h"
#include "tag.h" #include "tag.h"
#include <glib.h>
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
#include "util/list.h" #include "util/list.h"
#include "gcc.h" #include "gcc.h"
#include <glib.h>
#include <assert.h> #include <assert.h>
#include <stddef.h> #include <stddef.h>
#include <stdbool.h> #include <stdbool.h>
...@@ -68,7 +66,9 @@ struct song { ...@@ -68,7 +66,9 @@ struct song {
*/ */
extern struct Directory detached_root; extern struct Directory detached_root;
G_BEGIN_DECLS #ifdef __cplusplus
extern "C" {
#endif
/** allocate a new song with a remote URL */ /** allocate a new song with a remote URL */
struct song * struct song *
...@@ -160,6 +160,8 @@ song_get_uri(const struct song *song); ...@@ -160,6 +160,8 @@ song_get_uri(const struct song *song);
double double
song_get_duration(const struct song *song); song_get_duration(const struct song *song);
G_END_DECLS #ifdef __cplusplus
}
#endif
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment