changeset 33623:9d1734a75102

vidix: Add forward declaration for IsWinNT() to libdha_win32.c. This avoids a warning about missing prototypes.
author diego
date Wed, 22 Jun 2011 13:48:55 +0000
parents 27f7a3196e18
children 16a8338ef734
files vidix/sysdep/libdha_win32.c vidix/sysdep/pci_win32.c
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/sysdep/libdha_win32.c	Wed Jun 22 13:48:51 2011 +0000
+++ b/vidix/sysdep/libdha_win32.c	Wed Jun 22 13:48:55 2011 +0000
@@ -49,6 +49,8 @@
 #define METHOD_NEITHER                  3
 
 
+int IsWinNT(void);
+
 int IsWinNT(void) {
   OSVERSIONINFO OSVersionInfo;
   OSVersionInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
--- a/vidix/sysdep/pci_win32.c	Wed Jun 22 13:48:51 2011 +0000
+++ b/vidix/sysdep/pci_win32.c	Wed Jun 22 13:48:55 2011 +0000
@@ -31,11 +31,6 @@
 #include "vidix/dhahelperwin/dhahelper.h"
 
 static HANDLE hDriver;
-int IsWinNT(void);
-
-
-
-
 
 static __inline__ int enable_os_io(void)
 {