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

Diego Biurrun diego at biurrun.de
Fri Jun 24 00:17:37 CEST 2011


On Wed, Jun 22, 2011 at 07:19:31PM +0200, Reimar Döffinger wrote:
> On Wed, Jun 22, 2011 at 03:48:56PM +0200, diego wrote:
> > 
> > Log:
> > vidix: Add forward declaration for IsWinNT() to libdha_win32.c.
> > 
> > This avoids a warning about missing prototypes.
> > 
> > --- 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
> >  
> > +int IsWinNT(void);
> > +
> >  int IsWinNT(void) {
> > 
> > --- 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 @@
> >  
> >  static HANDLE hDriver;
> > -int IsWinNT(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.

I was under the impression that both were template files #included from
the same place.  How I came to confuse myself into believing such
nonsense I have no idea.  I'll fix it in a momemt.

Diego


More information about the MPlayer-cvslog mailing list