[vlc-devel] commit: Remove old VLC_MODULE_PROGRAM (we broke the ABI many times over) ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Jan 27 22:09:56 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Jan 27 21:05:31 2009 +0200| [deb763e0b9dbaef895e5cceec1085396a4842bc7] | committer: Rémi Denis-Courmont 

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=deb763e0b9dbaef895e5cceec1085396a4842bc7
---

 include/vlc_plugin.h |    3 +--
 src/modules/entry.c  |    4 ----
 2 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/include/vlc_plugin.h b/include/vlc_plugin.h
index 197fa1e..97582d9 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 <sam at zoy.org>
  *
@@ -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 ac96e49..5fd4166 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;




More information about the vlc-devel mailing list