X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fintf_eject.h;h=589f127cd1f7e2d8b3d2695dacd16bb87713efdc;hb=89417bd528d566fd7baabc79d124a77b368cc0d7;hp=0a65a6c7622980b8048b17f16bfa34f905ddd124;hpb=08999a39bccd9b1b199294933a54c50e94f4148f;p=vlc diff --git a/include/intf_eject.h b/include/intf_eject.h index 0a65a6c762..589f127cd1 100644 --- a/include/intf_eject.h +++ b/include/intf_eject.h @@ -2,7 +2,7 @@ * intf_eject.h: CD/DVD-ROM ejection handling functions ***************************************************************************** * Copyright (C) 2001, 2002 VideoLAN - * $Id: intf_eject.h,v 1.2 2002/04/24 00:36:24 sam Exp $ + * $Id: intf_eject.h,v 1.6 2004/01/25 18:17:08 zorglub Exp $ * * Author: Julien Blache * @@ -10,7 +10,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -21,8 +21,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. *****************************************************************************/ -#ifndef __PLUGIN__ -int intf_Eject( const char * ); -#else -# define intf_Eject p_symbols->intf_Eject -#endif +#define intf_Eject(a,b) __intf_Eject(VLC_OBJECT(a),b) +VLC_EXPORT( int, __intf_Eject, ( vlc_object_t *, const char * ) ); +