[vlc-commits] Fix visibility of libvlc_printerr (missing LIBVLC_API)

Cheng Sun git at videolan.org
Wed Dec 28 01:39:51 CET 2011


vlc/vlc-1.2 | branch: master | Cheng Sun <chengsun9 at gmail.com> | Tue Dec 27 18:51:14 2011 +0000| [438d66ae147e076e3413c07ea5f198d409204551] | committer: Jean-Baptiste Kempf

Fix visibility of libvlc_printerr (missing LIBVLC_API)

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
(cherry picked from commit 7b9c02144485f0d4c7639741b7fb9dae784c7ff6)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=438d66ae147e076e3413c07ea5f198d409204551
---

 include/vlc/libvlc.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/vlc/libvlc.h b/include/vlc/libvlc.h
index a1851c0..1571452 100644
--- a/include/vlc/libvlc.h
+++ b/include/vlc/libvlc.h
@@ -101,14 +101,14 @@ LIBVLC_API void libvlc_clearerr (void);
  * Any previous error is overridden.
  * \return a nul terminated string in any case
  */
-const char *libvlc_vprinterr (const char *fmt, va_list ap);
+LIBVLC_API const char *libvlc_vprinterr (const char *fmt, va_list ap);
 
 /**
  * Sets the LibVLC error status and message for the current thread.
  * Any previous error is overridden.
  * \return a nul terminated string in any case
  */
-const char *libvlc_printerr (const char *fmt, ...);
+LIBVLC_API const char *libvlc_printerr (const char *fmt, ...);
 
 /**@} */
 



More information about the vlc-commits mailing list