[vlc-devel] commit: Removed useless includes (msw). (Laurent Aimar )

git version control git at videolan.org
Mon Nov 2 19:51:17 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Oct  1 22:42:04 2009 +0200| [a2980a5e70aba3eba3352625e82216301497efb1] | committer: Laurent Aimar 

Removed useless includes (msw).

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

 modules/video_output/msw/common.c   |   11 -----------
 modules/video_output/msw/direct3d.c |    3 ---
 modules/video_output/msw/directx.c  |    3 ---
 modules/video_output/msw/events.c   |   11 ++---------
 modules/video_output/msw/glwin32.c  |    4 ----
 modules/video_output/msw/wingdi.c   |    2 --
 6 files changed, 2 insertions(+), 32 deletions(-)

diff --git a/modules/video_output/msw/common.c b/modules/video_output/msw/common.c
index 0a9513e..f2bbc97 100644
--- a/modules/video_output/msw/common.c
+++ b/modules/video_output/msw/common.c
@@ -30,21 +30,11 @@
 # include "config.h"
 #endif
 
-#include <errno.h>                                                 /* ENOMEM */
-#include <ctype.h>                                              /* tolower() */
-
-#ifndef _WIN32_WINNT
-#   define _WIN32_WINNT 0x0500
-#endif
-
 #include <vlc_common.h>
-#include <vlc_interface.h>
-#include <vlc_playlist.h>
 #include <vlc_vout.h>
 #include <vlc_vout_window.h>
 
 #include <windows.h>
-#include <tchar.h>
 #include <windowsx.h>
 #include <shellapi.h>
 
@@ -58,7 +48,6 @@
 #include <GL/gl.h>
 #endif
 
-#include <vlc_keys.h>
 #include "vout.h"
 
 #ifndef UNDER_CE
diff --git a/modules/video_output/msw/direct3d.c b/modules/video_output/msw/direct3d.c
index 7b52809..4ab729f 100644
--- a/modules/video_output/msw/direct3d.c
+++ b/modules/video_output/msw/direct3d.c
@@ -33,15 +33,12 @@
  * effectively display the pictures.
  *
  *****************************************************************************/
-#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>
 
diff --git a/modules/video_output/msw/directx.c b/modules/video_output/msw/directx.c
index d70a955..678e7e7 100644
--- a/modules/video_output/msw/directx.c
+++ b/modules/video_output/msw/directx.c
@@ -34,9 +34,6 @@
  * display video in window mode.
  *
  *****************************************************************************/
-
-#include <errno.h>                                                 /* ENOMEM */
-
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index 8f4fdef..fb80bae 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -30,24 +30,17 @@
 # include "config.h"
 #endif
 
-#include <errno.h>                                                 /* ENOMEM */
-#include <ctype.h>                                              /* tolower() */
-
-#ifndef _WIN32_WINNT
-#   define _WIN32_WINNT 0x0500
-#endif
-
 #include <vlc_common.h>
-#include <vlc_interface.h>
 #include <vlc_playlist.h>
 #include <vlc_vout.h>
 #include <vlc_vout_window.h>
 
 #include <windows.h>
-#include <tchar.h>
 #include <windowsx.h>
 #include <shellapi.h>
 
+#include <ctype.h>
+
 #ifdef MODULE_NAME_IS_directx
 #include <ddraw.h>
 #endif
diff --git a/modules/video_output/msw/glwin32.c b/modules/video_output/msw/glwin32.c
index 46226fa..b736f21 100644
--- a/modules/video_output/msw/glwin32.c
+++ b/modules/video_output/msw/glwin32.c
@@ -20,16 +20,12 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
-
-#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_vout.h>
 
 #include <windows.h>
diff --git a/modules/video_output/msw/wingdi.c b/modules/video_output/msw/wingdi.c
index 19ce8f9..bafcc19 100644
--- a/modules/video_output/msw/wingdi.c
+++ b/modules/video_output/msw/wingdi.c
@@ -32,12 +32,10 @@
 
 #include <vlc_common.h>
 #include <vlc_plugin.h>
-#include <vlc_interface.h>
 #include <vlc_playlist.h>
 #include <vlc_vout.h>
 
 #include <windows.h>
-#include <tchar.h>
 #include <commctrl.h>
 
 #include "vout.h"




More information about the vlc-devel mailing list