Mercurial > molko
diff src/libmlk-core/core/music.c @ 425:bf20b77968fd
core: use err.h in script
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 15 Oct 2022 14:14:38 +0200 |
parents | 222045c513ec |
children |
line wrap: on
line diff
--- a/src/libmlk-core/core/music.c Sat Oct 15 14:03:27 2022 +0200 +++ b/src/libmlk-core/core/music.c Sat Oct 15 14:14:38 2022 +0200 @@ -19,10 +19,8 @@ #include <assert.h> #include <string.h> -#include "error.h" +#include "err.h" #include "music.h" -#include "vfs.h" -#include "vfs_p.h" #include "sys_p.h" #define SOURCE(mus) ((const struct audiostream *)mus->handle)->source @@ -52,19 +50,6 @@ } int -music_openvfs(struct music *mus, struct vfs_file *file) -{ - assert(mus); - assert(vfs_file_ok(file)); - - // TODO: implement this. - (void)mus; - (void)file; - - return 0; -} - -int music_ok(const struct music *mus) { return mus && mus->handle;