]> git.sesse.net Git - vlc/commitdiff
Put msg_context_global_key to the internal header.
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 1 May 2008 19:17:21 +0000 (22:17 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 1 May 2008 19:17:21 +0000 (22:17 +0300)
It was not exported from libvlc anyhow.

include/vlc_common.h
src/libvlc.h
src/misc/messages.c

index a0f7a3d066376ab4352ba7dc0993aa50d49b2b5a..606ba438c1731f16a198913c8f0fcce56b71e4dc 100644 (file)
@@ -1004,14 +1004,6 @@ VLC_EXPORT( const char *, VLC_Changeset, ( void ) );
 #include "main.h"
 #include "vlc_configuration.h"
 
-/** The global thread var for msg stack context
- *  We store this as a static global variable so we don't need a vlc_object_t
- *  everywhere.
- *  This key is created in vlc_threads_init and is therefore ready to use at
- *  the very beginning of the universe */
-extern vlc_threadvar_t msg_context_global_key;
-
-
 #if defined( WIN32 ) || defined( UNDER_CE )
 #   define DIR_SEP_CHAR '\\'
 #   define DIR_SEP "\\"
index da25c7d6a7ffebaa307e5c251875cf24c84f731c..b3dff5e3668b5da91a35479ca9e66ba82a534fd4 100644 (file)
@@ -59,6 +59,13 @@ VLC_EXPORT( const char * , system_VLCPath, (void));
 int __vlc_threads_init( vlc_object_t * );
 int __vlc_threads_end( vlc_object_t * );
 
+/** The global thread var for msg stack context
+ *  We store this as a static global variable so we don't need a vlc_object_t
+ *  everywhere.
+ *  This key is created in vlc_threads_init and is therefore ready to use at
+ *  the very beginning of the universe */
+extern vlc_threadvar_t msg_context_global_key;
+
 /*
  * CPU capabilities
  */
index 5f64faf3ebdf709d39356210551769a28a914b81..ed17b87c8cf5c9dc23d98e8a024b95af71b04085 100644 (file)
@@ -53,6 +53,7 @@
 #include <assert.h>
 
 #include <vlc_charset.h>
+#include "../libvlc.h"
 
 /*****************************************************************************
  * Local macros