[vlc-devel] [PATCH] core: do not export vlc_tdestroy()
Sean McGovern
gseanmcg at gmail.com
Mon Dec 21 22:39:14 CET 2015
It was mistakenly added in 315f8e47d9503a94bd3955e581ece46f7c175971.
---
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 35cd8e0..6d5e72f 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -375,6 +375,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
--
1.7.9.2
More information about the vlc-devel
mailing list