From: Rémi Denis-Courmont Date: Tue, 27 Jan 2009 19:05:31 +0000 (+0200) Subject: Remove old VLC_MODULE_PROGRAM (we broke the ABI many times over) X-Git-Tag: 1.0.0-pre1~1003 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=deb763e0b9dbaef895e5cceec1085396a4842bc7;p=vlc Remove old VLC_MODULE_PROGRAM (we broke the ABI many times over) --- diff --git a/include/vlc_plugin.h b/include/vlc_plugin.h index 197fa1ec0c..97582d919c 100644 --- a/include/vlc_plugin.h +++ b/include/vlc_plugin.h @@ -2,7 +2,7 @@ * vlc_plugin.h : Macros used from within a module. ***************************************************************************** * Copyright (C) 2001-2006 the VideoLAN team - * Copyright © 2007-2008 Rémi Denis-Courmont + * Copyright © 2007-2009 Rémi Denis-Courmont * * Authors: Samuel Hocevar * @@ -46,7 +46,6 @@ enum vlc_module_properties VLC_MODULE_HELP_NODOMAIN, VLC_MODULE_CAPABILITY, VLC_MODULE_SCORE, - VLC_MODULE_PROGRAM, /* obsoleted */ VLC_MODULE_CB_OPEN, VLC_MODULE_CB_CLOSE, VLC_MODULE_NO_UNLOAD, diff --git a/src/modules/entry.c b/src/modules/entry.c index ac96e49aba..5fd41668bd 100644 --- a/src/modules/entry.c +++ b/src/modules/entry.c @@ -180,10 +180,6 @@ int vlc_module_set (module_t *module, int propid, ...) module->i_score = va_arg (ap, int); break; - case VLC_MODULE_PROGRAM: - fprintf (stderr, "deprecated module property %d", propid); - break; - case VLC_MODULE_CB_OPEN: module->pf_activate = va_arg (ap, int (*) (vlc_object_t *)); break;