]> git.sesse.net Git - vlc/commitdiff
Fix compilation warnings
authorClément Stenac <zorglub@videolan.org>
Sun, 22 Feb 2004 15:52:33 +0000 (15:52 +0000)
committerClément Stenac <zorglub@videolan.org>
Sun, 22 Feb 2004 15:52:33 +0000 (15:52 +0000)
modules/misc/playlist/export.c
modules/misc/playlist/native.c

index d7ccec2a7f42b2445d00d759c12339127ed6e47f..ccce81fc575536295585583c393414e3a3da56b3 100644 (file)
@@ -2,7 +2,7 @@
  * export.c :  Playlist export module
  *****************************************************************************
  * Copyright (C) 2004 VideoLAN
- * $Id: export.c,v 1.1 2004/01/11 00:45:06 zorglub Exp $
+ * $Id: export.c,v 1.2 2004/02/22 15:52:33 zorglub Exp $
  *
  * Authors: Clément Stenac <zorglub@videolan.org>
  *
@@ -29,9 +29,9 @@
 /***************************************************************************
  * Prototypes
  ***************************************************************************/
-void Export_Native ( intf_thread_t *p_intf );
-void Export_M3U    ( intf_thread_t *p_intf );
-void Export_Old    ( intf_thread_t *p_intf );
+int Export_Native ( vlc_object_t *p_intf );
+int Export_M3U    ( vlc_object_t *p_intf );
+int Export_Old    ( vlc_object_t *p_intf );
 
 
 /*****************************************************************************
index 74835bf097f9479b685903d84ef4e0bbbd02b71b..dd3977af31aba2021a79393124052eea28f8e541 100644 (file)
@@ -2,7 +2,7 @@
  * native.c :  Native playlist export module
  *****************************************************************************
  * Copyright (C) 2004 VideoLAN
- * $Id: native.c,v 1.1 2004/01/11 00:45:06 zorglub Exp $
+ * $Id: native.c,v 1.2 2004/02/22 15:52:33 zorglub Exp $
  *
  * Authors: Clément Stenac <zorglub@videolan.org>
  *
@@ -42,7 +42,7 @@ int Export_Native ( vlc_object_t * );
 int Export_Native( vlc_object_t *p_this )
 {
     playlist_t *p_playlist = (playlist_t*)p_this;
-    playlist_export_t *p_export = (playlist_export_t *)p_playlist->p_private;
 
     msg_Dbg(p_playlist, "Saving using native format");
+    return VLC_SUCCESS; 
 }