Commit deb763e0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove old VLC_MODULE_PROGRAM (we broke the ABI many times over)

parent fbb78845
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vlc_plugin.h : Macros used from within a module. * vlc_plugin.h : Macros used from within a module.
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2006 the VideoLAN team * Copyright (C) 2001-2006 the VideoLAN team
* Copyright © 2007-2008 Rémi Denis-Courmont * Copyright © 2007-2009 Rémi Denis-Courmont
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -46,7 +46,6 @@ enum vlc_module_properties ...@@ -46,7 +46,6 @@ enum vlc_module_properties
VLC_MODULE_HELP_NODOMAIN, VLC_MODULE_HELP_NODOMAIN,
VLC_MODULE_CAPABILITY, VLC_MODULE_CAPABILITY,
VLC_MODULE_SCORE, VLC_MODULE_SCORE,
VLC_MODULE_PROGRAM, /* obsoleted */
VLC_MODULE_CB_OPEN, VLC_MODULE_CB_OPEN,
VLC_MODULE_CB_CLOSE, VLC_MODULE_CB_CLOSE,
VLC_MODULE_NO_UNLOAD, VLC_MODULE_NO_UNLOAD,
......
...@@ -180,10 +180,6 @@ int vlc_module_set (module_t *module, int propid, ...) ...@@ -180,10 +180,6 @@ int vlc_module_set (module_t *module, int propid, ...)
module->i_score = va_arg (ap, int); module->i_score = va_arg (ap, int);
break; break;
case VLC_MODULE_PROGRAM:
fprintf (stderr, "deprecated module property %d", propid);
break;
case VLC_MODULE_CB_OPEN: case VLC_MODULE_CB_OPEN:
module->pf_activate = va_arg (ap, int (*) (vlc_object_t *)); module->pf_activate = va_arg (ap, int (*) (vlc_object_t *));
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment