[MPlayer-cvslog] r33715 - in trunk/vidix/sysdep: libdha_win32.c libdha_win32.h pci_win32.c

diego subversion at mplayerhq.hu
Fri Jun 24 00:52:09 CEST 2011


Author: diego
Date: Fri Jun 24 00:52:09 2011
New Revision: 33715

Log:
vidix: Replace IsWinNT() forward declaration by a proper header.

Added:
   trunk/vidix/sysdep/libdha_win32.h
Modified:
   trunk/vidix/sysdep/libdha_win32.c
   trunk/vidix/sysdep/pci_win32.c

Modified: trunk/vidix/sysdep/libdha_win32.c
==============================================================================
--- trunk/vidix/sysdep/libdha_win32.c	Thu Jun 23 20:42:26 2011	(r33714)
+++ trunk/vidix/sysdep/libdha_win32.c	Fri Jun 24 00:52:09 2011	(r33715)
@@ -23,6 +23,7 @@
 #include <windows.h>
 #include <ddk/ntddk.h>
 #include "vidix/dhahelperwin/dhahelper.h"
+#include "libdha_win32.h"
 
 /*
   This is the request structure that applications use
@@ -49,8 +50,6 @@ typedef struct MapDevRequest
 #define METHOD_NEITHER                  3
 
 
-int IsWinNT(void);
-
 int IsWinNT(void) {
   OSVERSIONINFO OSVersionInfo;
   OSVersionInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);

Added: trunk/vidix/sysdep/libdha_win32.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/vidix/sysdep/libdha_win32.h	Fri Jun 24 00:52:09 2011	(r33715)
@@ -0,0 +1,26 @@
+/*
+ * VIDIX - VIDeo Interface for *niX.
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef MPLAYER_LIBDHA_WIN32_H
+#define MPLAYER_LIBDHA_WIN32_H
+
+int IsWinNT(void);
+
+#endif /* MPLAYER_LIBDHA_WIN32_H */

Modified: trunk/vidix/sysdep/pci_win32.c
==============================================================================
--- trunk/vidix/sysdep/pci_win32.c	Thu Jun 23 20:42:26 2011	(r33714)
+++ trunk/vidix/sysdep/pci_win32.c	Fri Jun 24 00:52:09 2011	(r33715)
@@ -29,6 +29,7 @@
 #include <windows.h>
 #include <ddk/ntddk.h>
 #include "vidix/dhahelperwin/dhahelper.h"
+#include "libdha_win32.h"
 
 static HANDLE hDriver;
 


More information about the MPlayer-cvslog mailing list