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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Jun 22 19:19:31 CEST 2011


On Wed, Jun 22, 2011 at 03:48:56PM +0200, diego wrote:
> Author: diego
> Date: Wed Jun 22 15:48:55 2011
> New Revision: 33711
> 
> Log:
> vidix: Add forward declaration for IsWinNT() to libdha_win32.c.
> 
> This avoids a warning about missing prototypes.
> 
> 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	Wed Jun 22 15:48:51 2011	(r33710)
> +++ trunk/vidix/sysdep/libdha_win32.c	Wed Jun 22 15:48:55 2011	(r33711)
> @@ -49,6 +49,8 @@ typedef struct MapDevRequest
>  #define METHOD_NEITHER                  3
>  
>  
> +int IsWinNT(void);
> +
>  int IsWinNT(void) {
>    OSVERSIONINFO OSVersionInfo;
>    OSVersionInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
> 
> Modified: trunk/vidix/sysdep/pci_win32.c
> ==============================================================================
> --- trunk/vidix/sysdep/pci_win32.c	Wed Jun 22 15:48:51 2011	(r33710)
> +++ trunk/vidix/sysdep/pci_win32.c	Wed Jun 22 15:48:55 2011	(r33711)
> @@ -31,11 +31,6 @@
>  #include "vidix/dhahelperwin/dhahelper.h"
>  
>  static HANDLE hDriver;
> -int IsWinNT(void);
> -
> -
> -
> -
>  
>  static __inline__ int enable_os_io(void)
>  {

That's not in the commit message, and I can't see how this can work
since that file now completely misses a declaration of that function.


More information about the MPlayer-cvslog mailing list