[vlc-devel] commit: vout modules: remove uneeded includes. ( Rémi Duraffort )

git version control git at videolan.org
Wed Jul 22 20:34:40 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Jul 22 10:12:41 2009 +0200| [bf8f6ebcaec49c31b4dbb9b0b632ba5204d0de7d] | committer: Rémi Duraffort 

vout modules: remove uneeded includes.

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

 modules/video_output/aa.c       |    7 ++-----
 modules/video_output/directfb.c |    3 +--
 modules/video_output/ggi.c      |    6 ++----
 modules/video_output/sdl.c      |    4 ----
 4 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/modules/video_output/aa.c b/modules/video_output/aa.c
index a46998f..e4cd872 100644
--- a/modules/video_output/aa.c
+++ b/modules/video_output/aa.c
@@ -24,18 +24,15 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <errno.h>                                                 /* ENOMEM */
-
-#include <aalib.h>
-
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
 
+#include <aalib.h>
+
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_vout.h>
-#include <vlc_interface.h>
 
 /*****************************************************************************
  * Local prototypes
diff --git a/modules/video_output/directfb.c b/modules/video_output/directfb.c
index 77fa243..704404e 100644
--- a/modules/video_output/directfb.c
+++ b/modules/video_output/directfb.c
@@ -25,8 +25,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <errno.h>                                                 /* ENOMEM */
-
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
@@ -34,6 +32,7 @@
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_vout.h>
+
 #include <directfb.h>
 
 /*****************************************************************************
diff --git a/modules/video_output/ggi.c b/modules/video_output/ggi.c
index 7f7c5d5..ad1137a 100644
--- a/modules/video_output/ggi.c
+++ b/modules/video_output/ggi.c
@@ -25,14 +25,12 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <errno.h>                                                 /* ENOMEM */
-
-#include <ggi/ggi.h>
-
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
 
+#include <ggi/ggi.h>
+
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_interface.h>
diff --git a/modules/video_output/sdl.c b/modules/video_output/sdl.c
index e3f4a92..68f35ce 100644
--- a/modules/video_output/sdl.c
+++ b/modules/video_output/sdl.c
@@ -26,19 +26,15 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <errno.h>                                                 /* ENOMEM */
-
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
 
 #include <vlc_common.h>
 #include <vlc_plugin.h>
-#include <vlc_interface.h>
 #include <vlc_playlist.h>
 #include <vlc_vout.h>
 #include <vlc_keys.h>
-//#include <vlc_aout.h>
 
 #include <sys/types.h>
 #ifndef WIN32




More information about the vlc-devel mailing list