]> git.sesse.net Git - vlc/commitdiff
Do not export thread init functions.
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 16 Aug 2007 19:34:26 +0000 (19:34 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 16 Aug 2007 19:34:26 +0000 (19:34 +0000)
They should not be used by plugins. And in fact, they are not.

include/vlc_threads_funcs.h
src/libvlc.h
src/libvlc.sym

index 269287b69c3c980805773ee708cc6237ad93802c..b4822bce990a505f017adcaa6fd6f628135350ba 100644 (file)
@@ -35,8 +35,6 @@
 /*****************************************************************************
  * Function definitions
  *****************************************************************************/
-VLC_EXPORT( int,  __vlc_threads_init,  ( vlc_object_t * ) );
-VLC_EXPORT( int,  __vlc_threads_end,   ( vlc_object_t * ) );
 VLC_EXPORT( int,  __vlc_mutex_init,    ( vlc_object_t *, vlc_mutex_t * ) );
 VLC_EXPORT( int,  __vlc_mutex_destroy, ( const char *, int, vlc_mutex_t * ) );
 VLC_EXPORT( int,  __vlc_cond_init,     ( vlc_object_t *, vlc_cond_t * ) );
index e7a92657820ad34bb2b7a4493d1a4f74a89aee2c..6013b84dd192a9b19e0f8c7961890ab5514e5037 100644 (file)
@@ -33,6 +33,24 @@ extern const size_t libvlc_config_count;
 extern const struct hotkey libvlc_hotkeys[];
 extern const size_t libvlc_hotkeys_size;
 
+
+/*
+ * Threads subsystem
+ */
+int __vlc_threads_init( vlc_object_t * );
+int __vlc_threads_end( vlc_object_t * );
+
+/*
+ * CPU capabilities
+ */
+extern uint32_t cpu_flags;
+uint32_t CPUCapabilities( void );
+
+
+/*
+ * LibVLC objects stuff
+ */
+
 extern vlc_object_t *
 vlc_custom_create (vlc_object_t *p_this, size_t i_size, int i_type,
                    const char *psz_type);
@@ -76,9 +94,6 @@ struct libvlc_global_data_t
 
 libvlc_global_data_t *vlc_global (void);
 
-extern uint32_t cpu_flags;
-uint32_t CPUCapabilities( void );
-
 /* Private LibVLC data for each objects */
 struct vlc_object_internals_t
 {
index 263b4c5d22facc463fa4705abe27695f49510022..498a13eedd6f58eebf7bb15b301418b70cb97175 100644 (file)
@@ -390,9 +390,7 @@ vlc_strndup
 __vlc_thread_create
 __vlc_thread_join
 __vlc_thread_ready
-__vlc_threads_end
 __vlc_thread_set_priority
-__vlc_threads_init
 vlc_ureduce
 vlc_vasprintf
 VLC_Version