]> git.sesse.net Git - vlc/blobdiff - src/interface/intf_eject.c
Reference count libvlc. API break.
[vlc] / src / interface / intf_eject.c
index f245cc2374c702b3e9bd02de5664e909d00e841f..0d209cec4fea2ca702262bf1e6aebf2351b77c85 100644 (file)
 
 #include <vlc/vlc.h>
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #ifdef HAVE_UNISTD_H
 #    include <unistd.h>
 #endif
 
-#include <string.h>
-
 #ifdef HAVE_FCNTL_H
 #   include <fcntl.h>
 #endif
@@ -76,6 +71,8 @@
 #   include <mmsystem.h>
 #endif
 
+#include <vlc_interface.h>
+
 /*****************************************************************************
  * Local prototypes
  *****************************************************************************/
@@ -208,7 +205,7 @@ int __intf_Eject( vlc_object_t *p_this, const char *psz_device )
     i_ret = ioctl( i_fd, CDROMEJECT, 0 );
 
 #else
-    msg_Warn( p_this, "CD-Rom ejection unsupported on this platform" );
+    msg_Warn( p_this, "CD-ROM ejection unsupported on this platform" );
     i_ret = -1;
 
 #endif