]> git.sesse.net Git - vlc/commitdiff
Fix warnings
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 29 Mar 2008 09:27:56 +0000 (11:27 +0200)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 29 Mar 2008 09:27:56 +0000 (11:27 +0200)
src/libvlc.h
src/misc/objects.c
src/video_output/vout_subpictures.c

index 30a2137d77ff716242efdde9d7d1567a16d90946..043becc52c44aafe4a3ee8b7596d6fbe20d08434 100644 (file)
@@ -87,7 +87,7 @@ uint32_t CPUCapabilities( void );
  * @param psz_type object type name
  * @return the created object, or NULL.
  */
-extern vlc_object_t *
+extern void *
 vlc_custom_create (vlc_object_t *p_this, size_t i_size, int i_type,
                    const char *psz_type);
 
index 440a739a43e3033240a16055b37150f5266ef174..a7e488042d793df9275b7971a61c6ac0fa5b226c 100644 (file)
@@ -104,8 +104,8 @@ static void vlc_object_yield_locked( vlc_object_t *p_this );
 static vlc_mutex_t    structure_lock;
 static vlc_object_internals_t global_internals;
 
-vlc_object_t *vlc_custom_create( vlc_object_t *p_this, size_t i_size,
-                                 int i_type, const char *psz_type )
+void *vlc_custom_create( vlc_object_t *p_this, size_t i_size,
+                         int i_type, const char *psz_type )
 {
     vlc_object_t *p_new;
     vlc_object_internals_t *p_priv;
index d9065dfe12706a26efffd275b1191d6f9b79566b..9dccc5324d81c405a4e91f76909d401cbac2eaa9 100644 (file)
@@ -35,6 +35,7 @@
 #include <vlc_block.h>
 #include <vlc_filter.h>
 #include <vlc_osd.h>
+#include "../libvlc.h"
 
 /*****************************************************************************
  * Local prototypes