diff libcore/core/music.h @ 226:dd7c8d4321a3

misc: miscellaneous cleanups
author David Demelier <markand@malikania.fr>
date Thu, 19 Nov 2020 10:17:04 +0100
parents d3ef968745f5
children e71039d820a7
line wrap: on
line diff
--- a/libcore/core/music.h	Wed Nov 18 19:52:14 2020 +0100
+++ b/libcore/core/music.h	Thu Nov 19 10:17:04 2020 +0100
@@ -30,8 +30,6 @@
 #include <stdbool.h>
 #include <stddef.h>
 
-#include "plat.h"
-
 /**
  * \brief Music flags.
  */
@@ -57,7 +55,7 @@
  * \return False on errors.
  */
 bool
-music_open(struct music *mus, const char *path) PLAT_NODISCARD;
+music_open(struct music *mus, const char *path);
 
 /**
  * Open a music from a buffer.
@@ -71,7 +69,7 @@
  * \warning The buffer must exists until the sound object is closed.
  */
 bool
-music_openmem(struct music *mus, const void *buffer, size_t buffersz) PLAT_NODISCARD;
+music_openmem(struct music *mus, const void *buffer, size_t buffersz);
 
 /**
  * Check if this music handle is properly loaded.