]> git.sesse.net Git - vlc/blobdiff - src/libvlc.c
close the logger in tests
[vlc] / src / libvlc.c
index 00cc81d9e0819e7fc47e978cb18774e8b9ca20b0..6d7ce25b6790b735202c3c41100d4bd504ccc172 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 
 #include "control/libvlc_internal.h"
@@ -115,7 +119,7 @@ int VLC_Create( void )
  *  - message queue, module bank and playlist initialization
  *  - configuration and commandline parsing
  *****************************************************************************/
-int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
+int VLC_Init( int i_object, int i_argc, const char *ppsz_argv[] )
 {
     int i_ret;
     LIBVLC_FUNC;