[vlc-devel] commit: Useless headers ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Jan 25 19:23:33 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jan 25 20:21:02 2010 +0200| [547247da8dca865ce18d42ad4efdf40345393235] | committer: Rémi Denis-Courmont 

Useless headers

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

 src/modules/cache.c   |   25 -------------------------
 src/modules/modules.c |   25 -------------------------
 2 files changed, 0 insertions(+), 50 deletions(-)

diff --git a/src/modules/cache.c b/src/modules/cache.c
index 882cfc1..0c8b616 100644
--- a/src/modules/cache.c
+++ b/src/modules/cache.c
@@ -43,31 +43,6 @@
 #endif
 #include <assert.h>
 
-#if !defined(HAVE_DYNAMIC_PLUGINS)
-    /* no support for plugins */
-#elif defined(HAVE_DL_DYLD)
-#   if defined(HAVE_MACH_O_DYLD_H)
-#       include <mach-o/dyld.h>
-#   endif
-#elif defined(HAVE_DL_BEOS)
-#   if defined(HAVE_IMAGE_H)
-#       include <image.h>
-#   endif
-#elif defined(HAVE_DL_WINDOWS)
-#   include <windows.h>
-#elif defined(HAVE_DL_DLOPEN)
-#   if defined(HAVE_DLFCN_H) /* Linux, BSD, Hurd */
-#       include <dlfcn.h>
-#   endif
-#   if defined(HAVE_SYS_DL_H)
-#       include <sys/dl.h>
-#   endif
-#elif defined(HAVE_DL_SHL_LOAD)
-#   if defined(HAVE_DL_H)
-#       include <dl.h>
-#   endif
-#endif
-
 #include "config/configuration.h"
 
 #include "vlc_charset.h"
diff --git a/src/modules/modules.c b/src/modules/modules.c
index 23e4bde..ebc1d08 100644
--- a/src/modules/modules.c
+++ b/src/modules/modules.c
@@ -50,31 +50,6 @@
 #   include <unistd.h>
 #endif
 
-#if !defined(HAVE_DYNAMIC_PLUGINS)
-    /* no support for plugins */
-#elif defined(HAVE_DL_DYLD)
-#   if defined(HAVE_MACH_O_DYLD_H)
-#       include <mach-o/dyld.h>
-#   endif
-#elif defined(HAVE_DL_BEOS)
-#   if defined(HAVE_IMAGE_H)
-#       include <image.h>
-#   endif
-#elif defined(HAVE_DL_WINDOWS)
-#   include <windows.h>
-#elif defined(HAVE_DL_DLOPEN)
-#   if defined(HAVE_DLFCN_H) /* Linux, BSD, Hurd */
-#       include <dlfcn.h>
-#   endif
-#   if defined(HAVE_SYS_DL_H)
-#       include <sys/dl.h>
-#   endif
-#elif defined(HAVE_DL_SHL_LOAD)
-#   if defined(HAVE_DL_H)
-#       include <dl.h>
-#   endif
-#endif
-
 #include "config/configuration.h"
 
 #include "vlc_charset.h"




More information about the vlc-devel mailing list