From deb763e0b9dbaef895e5cceec1085396a4842bc7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Tue, 27 Jan 2009 21:05:31 +0200 Subject: [PATCH] Remove old VLC_MODULE_PROGRAM (we broke the ABI many times over) --- include/vlc_plugin.h | 3 +-- src/modules/entry.c | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) 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; -- 2.39.2