X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=inline;f=include%2Fintf_eject.h;h=84529d59bf036a5cecfcc462e1df8e5cbfac67e1;hb=fe2eb17b664a5f416066cddc74a5a6be0900b48c;hp=0a65a6c7622980b8048b17f16bfa34f905ddd124;hpb=08999a39bccd9b1b199294933a54c50e94f4148f;p=vlc diff --git a/include/intf_eject.h b/include/intf_eject.h index 0a65a6c762..84529d59bf 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$ * * 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 * ) ); +