Changeset bf5fd2c75e4e433fda8950b73ee33dd422252603

Show
Ignore:
Timestamp:
20/08/07 21:02:53 (1 year ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1187636573 +0000
git-parent:

[b778f3486ef8c8f21be3712ac15f387d1d02d5d9]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1187636573 +0000
Message:

Here too

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/interface/intf_eject.c

    rcc3bd15 rbf5fd2c  
     1/***************************************************************************** 
     2 * intf_eject.c: CD/DVD-ROM ejection handling functions 
     3 ***************************************************************************** 
     4 * Copyright (C) 2001-2004 the VideoLAN team 
     5 * $Id$ 
     6 * 
     7 * Authors: Julien Blache <jb@technologeek.org> for the Linux part 
     8 *                with code taken from the Linux "eject" command 
     9 *          Jon Lech Johansen <jon-vl@nanocrew.net> for Darwin 
     10 *          Gildas Bazin <gbazin@netcourrier.com> for Win32 
     11 * 
     12 * This program is free software; you can redistribute it and/or modify 
     13 * it under the terms of the GNU General Public License as published by 
     14 * the Free Software Foundation; either version 2 of the License, or 
     15 * (at your option) any later version. 
     16 * 
     17 * This program is distributed in the hope that it will be useful, 
     18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     20 * GNU General Public License for more details. 
     21 * 
     22 * You should have received a copy of the GNU General Public License 
     23 * along with this program; if not, write to the Free Software 
     24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 
     25 *****************************************************************************/ 
     26 
     27/** 
     28 *  \file 
     29 *  This file contain functions to eject CD and DVD drives 
     30 */ 
     31 
    132#include <vlc/vlc.h> 
    233 
     
    435#    include <unistd.h> 
    536#endif 
    6  
    7 #include <string.h> 
    837 
    938#ifdef HAVE_FCNTL_H 
     
    3160#   include <linux/cdrom.h> 
    3261#   if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) 
    33        include <linux/ucdrom.h> 
     62#       include <linux/ucdrom.h> 
    3463#   endif 
    3564