[vlc-commits] core: do not export vlc_tdestroy()
Sean McGovern
git at videolan.org
Mon Dec 21 22:57:50 CET 2015
vlc | branch: master | Sean McGovern <gseanmcg at gmail.com> | Mon Dec 21 16:39:14 2015 -0500| [d18cfbfec0d762f4809e6d66e9b3d4a86b46f01d] | committer: Rémi Denis-Courmont
core: do not export vlc_tdestroy()
It was mistakenly added in 315f8e47d9503a94bd3955e581ece46f7c175971.
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d18cfbfec0d762f4809e6d66e9b3d4a86b46f01d
---
include/vlc_common.h | 2 --
include/vlc_fixups.h | 1 +
src/libvlccore.sym | 1 -
3 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/include/vlc_common.h b/include/vlc_common.h
index 86c2f27..296439e 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -829,8 +829,6 @@ static inline void *vlc_memalign(size_t align, size_t size)
# define vlc_free(base) free(base)
#endif
-VLC_API void vlc_tdestroy( void *, void (*)(void *) );
-
/*****************************************************************************
* I18n stuff
*****************************************************************************/
diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index bd798d0..c865bee 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -371,6 +371,7 @@ void twalk( const void *root, void(*action)(const void *nodep, VISIT which, int
void tdestroy( void *root, void (*free_node)(void *nodep) );
#else // HAVE_SEARCH_H
# ifndef HAVE_TDESTROY
+void vlc_tdestroy( void *, void (*)(void *) );
# define tdestroy vlc_tdestroy
# endif
#endif
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index e2dc8c4..432ff07 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -619,7 +619,6 @@ vlc_sd_probe_Add
vlc_sdp_Start
vlc_sd_Start
vlc_sd_Stop
-vlc_tdestroy
vlc_testcancel
vlc_threadvar_create
vlc_threadvar_delete
More information about the vlc-commits
mailing list