mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:35:47 +00:00
fixed compiler warnings and cvsignore files
svn path=/trunk/; revision=6102
This commit is contained in:
parent
b2869f7a74
commit
174238220d
18 changed files with 93 additions and 90 deletions
|
@ -1,7 +1,7 @@
|
||||||
base.tmp
|
*.tmp
|
||||||
junk.tmp
|
*.exp
|
||||||
temp.exp
|
*.coff
|
||||||
beep.coff
|
*.d
|
||||||
*.o
|
*.o
|
||||||
*.sym
|
*.sym
|
||||||
*.sys
|
*.sys
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: beep.c,v 1.15 2002/10/21 17:05:32 hbirr Exp $
|
/* $Id: beep.c,v 1.16 2003/09/20 20:12:43 weiden Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -247,11 +247,11 @@ DriverEntry(PDRIVER_OBJECT DriverObject,
|
||||||
DPRINT("Beep Device Driver 0.0.3\n");
|
DPRINT("Beep Device Driver 0.0.3\n");
|
||||||
|
|
||||||
DriverObject->Flags = 0;
|
DriverObject->Flags = 0;
|
||||||
DriverObject->MajorFunction[IRP_MJ_CREATE] = BeepCreate;
|
DriverObject->MajorFunction[IRP_MJ_CREATE] = (PDRIVER_DISPATCH)BeepCreate;
|
||||||
DriverObject->MajorFunction[IRP_MJ_CLOSE] = BeepClose;
|
DriverObject->MajorFunction[IRP_MJ_CLOSE] = (PDRIVER_DISPATCH)BeepClose;
|
||||||
DriverObject->MajorFunction[IRP_MJ_CLEANUP] = BeepCleanup;
|
DriverObject->MajorFunction[IRP_MJ_CLEANUP] = (PDRIVER_DISPATCH)BeepCleanup;
|
||||||
DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = BeepDeviceControl;
|
DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = (PDRIVER_DISPATCH)BeepDeviceControl;
|
||||||
DriverObject->DriverUnload = BeepUnload;
|
DriverObject->DriverUnload = (PDRIVER_UNLOAD)BeepUnload;
|
||||||
|
|
||||||
Status = IoCreateDevice(DriverObject,
|
Status = IoCreateDevice(DriverObject,
|
||||||
sizeof(DEVICE_EXTENSION),
|
sizeof(DEVICE_EXTENSION),
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
base.tmp
|
*.tmp
|
||||||
junk.tmp
|
*.exp
|
||||||
temp.exp
|
*.coff
|
||||||
blue.coff
|
*.d
|
||||||
*.o
|
*.o
|
||||||
*.sym
|
*.sym
|
||||||
*.sys
|
*.sys
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
base.tmp
|
*.tmp
|
||||||
junk.tmp
|
*.exp
|
||||||
temp.exp
|
*.coff
|
||||||
bootvid.coff
|
*.d
|
||||||
*.sym
|
|
||||||
*.o
|
*.o
|
||||||
|
*.sym
|
||||||
*.sys
|
*.sys
|
||||||
*.map
|
*.map
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: bootvid.c,v 1.2 2003/08/25 12:27:45 dwelch Exp $
|
/* $Id: bootvid.c,v 1.3 2003/09/20 20:12:43 weiden Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -359,7 +359,7 @@ InbvInitVGAMode(VOID)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
BOOLEAN
|
BOOL
|
||||||
STDCALL
|
STDCALL
|
||||||
VidResetDisplay(VOID)
|
VidResetDisplay(VOID)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
base.tmp
|
*.tmp
|
||||||
junk.tmp
|
*.exp
|
||||||
temp.exp
|
*.coff
|
||||||
debugout.coff
|
*.d
|
||||||
*.sym
|
|
||||||
*.o
|
*.o
|
||||||
|
*.sym
|
||||||
*.sys
|
*.sys
|
||||||
*.map
|
*.map
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
floppy.coff
|
*.tmp
|
||||||
*.sys
|
*.exp
|
||||||
|
*.coff
|
||||||
|
*.d
|
||||||
*.o
|
*.o
|
||||||
*.sym
|
*.sym
|
||||||
|
*.sys
|
||||||
*.map
|
*.map
|
||||||
|
|
|
@ -541,12 +541,12 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
|
||||||
DPRINT("Floppy driver\n");
|
DPRINT("Floppy driver\n");
|
||||||
|
|
||||||
/* Export other driver entry points... */
|
/* Export other driver entry points... */
|
||||||
DriverObject->MajorFunction[IRP_MJ_CREATE] = FloppyDispatchOpenClose;
|
DriverObject->MajorFunction[IRP_MJ_CREATE] = (PDRIVER_DISPATCH)FloppyDispatchOpenClose;
|
||||||
DriverObject->MajorFunction[IRP_MJ_CLOSE] = FloppyDispatchOpenClose;
|
DriverObject->MajorFunction[IRP_MJ_CLOSE] = (PDRIVER_DISPATCH)FloppyDispatchOpenClose;
|
||||||
DriverObject->MajorFunction[IRP_MJ_READ] = FloppyDispatchReadWrite;
|
DriverObject->MajorFunction[IRP_MJ_READ] = (PDRIVER_DISPATCH)FloppyDispatchReadWrite;
|
||||||
DriverObject->MajorFunction[IRP_MJ_WRITE] = FloppyDispatchReadWrite;
|
DriverObject->MajorFunction[IRP_MJ_WRITE] = (PDRIVER_DISPATCH)FloppyDispatchReadWrite;
|
||||||
DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] =
|
DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] =
|
||||||
FloppyDispatchDeviceControl;
|
(PDRIVER_DISPATCH)FloppyDispatchDeviceControl;
|
||||||
|
|
||||||
/* Try to detect controller and abort if it fails */
|
/* Try to detect controller and abort if it fails */
|
||||||
if (!FloppyCreateController(DriverObject,
|
if (!FloppyCreateController(DriverObject,
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
base.tmp
|
*.tmp
|
||||||
junk.tmp
|
*.exp
|
||||||
temp.exp
|
*.coff
|
||||||
ide.coff
|
*.d
|
||||||
*.sys
|
|
||||||
*.sym
|
|
||||||
*.o
|
*.o
|
||||||
|
*.sym
|
||||||
|
*.sys
|
||||||
*.map
|
*.map
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: ide.c,v 1.58 2003/07/21 21:53:46 royce Exp $
|
/* $Id: ide.c,v 1.59 2003/09/20 20:12:43 weiden Exp $
|
||||||
*
|
*
|
||||||
* IDE.C - IDE Disk driver
|
* IDE.C - IDE Disk driver
|
||||||
* written by Rex Jolliff
|
* written by Rex Jolliff
|
||||||
|
@ -242,13 +242,13 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
|
||||||
|
|
||||||
/* Export other driver entry points... */
|
/* Export other driver entry points... */
|
||||||
DriverObject->DriverStartIo = IDEStartIo;
|
DriverObject->DriverStartIo = IDEStartIo;
|
||||||
DriverObject->MajorFunction[IRP_MJ_CREATE] = IDEDispatchOpenClose;
|
DriverObject->MajorFunction[IRP_MJ_CREATE] = (PDRIVER_DISPATCH)IDEDispatchOpenClose;
|
||||||
DriverObject->MajorFunction[IRP_MJ_CLOSE] = IDEDispatchOpenClose;
|
DriverObject->MajorFunction[IRP_MJ_CLOSE] = (PDRIVER_DISPATCH)IDEDispatchOpenClose;
|
||||||
DriverObject->MajorFunction[IRP_MJ_READ] = IDEDispatchReadWrite;
|
DriverObject->MajorFunction[IRP_MJ_READ] = (PDRIVER_DISPATCH)IDEDispatchReadWrite;
|
||||||
DriverObject->MajorFunction[IRP_MJ_WRITE] = IDEDispatchReadWrite;
|
DriverObject->MajorFunction[IRP_MJ_WRITE] = (PDRIVER_DISPATCH)IDEDispatchReadWrite;
|
||||||
// DriverObject->MajorFunction[IRP_MJ_QUERY_INFORMATION] = IDEDispatchQueryInformation;
|
// DriverObject->MajorFunction[IRP_MJ_QUERY_INFORMATION] = (PDRIVER_DISPATCH)IDEDispatchQueryInformation;
|
||||||
// DriverObject->MajorFunction[IRP_MJ_SET_INFORMATION] = IDEDispatchSetInformation;
|
// DriverObject->MajorFunction[IRP_MJ_SET_INFORMATION] = (PDRIVER_DISPATCH)IDEDispatchSetInformation;
|
||||||
DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = IDEDispatchDeviceControl;
|
DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = (PDRIVER_DISPATCH)IDEDispatchDeviceControl;
|
||||||
|
|
||||||
Status = IdeFindControllers(DriverObject);
|
Status = IdeFindControllers(DriverObject);
|
||||||
if (NT_SUCCESS(Status))
|
if (NT_SUCCESS(Status))
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
base.tmp
|
*.tmp
|
||||||
junk.tmp
|
*.exp
|
||||||
temp.exp
|
*.coff
|
||||||
null.coff
|
*.d
|
||||||
*.sym
|
|
||||||
*.o
|
*.o
|
||||||
|
*.sym
|
||||||
*.sys
|
*.sys
|
||||||
*.map
|
*.map
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: null.c,v 1.10 2002/09/08 10:22:05 chorns Exp $
|
/* $Id: null.c,v 1.11 2003/09/20 20:12:43 weiden Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -105,12 +105,12 @@ DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
|
||||||
NTSTATUS nErrCode;
|
NTSTATUS nErrCode;
|
||||||
|
|
||||||
/* register driver routines */
|
/* register driver routines */
|
||||||
DriverObject->MajorFunction[IRP_MJ_CLOSE] = NullDispatch;
|
DriverObject->MajorFunction[IRP_MJ_CLOSE] = (PDRIVER_DISPATCH)NullDispatch;
|
||||||
DriverObject->MajorFunction[IRP_MJ_CREATE] = NullDispatch;
|
DriverObject->MajorFunction[IRP_MJ_CREATE] = (PDRIVER_DISPATCH)NullDispatch;
|
||||||
DriverObject->MajorFunction[IRP_MJ_WRITE] = NullDispatch;
|
DriverObject->MajorFunction[IRP_MJ_WRITE] = (PDRIVER_DISPATCH)NullDispatch;
|
||||||
DriverObject->MajorFunction[IRP_MJ_READ] = NullDispatch;
|
DriverObject->MajorFunction[IRP_MJ_READ] = (PDRIVER_DISPATCH)NullDispatch;
|
||||||
/* DriverObject->MajorFunction[IRP_MJ_QUERY_INFORMATION] = NullDispatch; */
|
/* DriverObject->MajorFunction[IRP_MJ_QUERY_INFORMATION] = (PDRIVER_DISPATCH)NullDispatch; */
|
||||||
DriverObject->DriverUnload = NullUnload;
|
DriverObject->DriverUnload = (PDRIVER_UNLOAD)NullUnload;
|
||||||
|
|
||||||
/* create null device */
|
/* create null device */
|
||||||
RtlInitUnicodeStringFromLiteral(&wstrDeviceName, L"\\Device\\Null");
|
RtlInitUnicodeStringFromLiteral(&wstrDeviceName, L"\\Device\\Null");
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
base.tmp
|
*.tmp
|
||||||
junk.tmp
|
*.exp
|
||||||
temp.exp
|
*.coff
|
||||||
parallel.coff
|
*.d
|
||||||
parallel.sys
|
*.o
|
||||||
parallel.sys.unstripped
|
*.sym
|
||||||
|
*.sys
|
||||||
*.map
|
*.map
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: parallel.c,v 1.8 2002/08/20 20:37:05 hyperion Exp $
|
/* $Id: parallel.c,v 1.9 2003/09/20 20:12:43 weiden Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -145,9 +145,9 @@ DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
DeviceObject->Flags=0;
|
DeviceObject->Flags=0;
|
||||||
DriverObject->MajorFunction[IRP_MJ_CLOSE] = Dispatch;
|
DriverObject->MajorFunction[IRP_MJ_CLOSE] = (PDRIVER_DISPATCH)Dispatch;
|
||||||
DriverObject->MajorFunction[IRP_MJ_CREATE] = Dispatch;
|
DriverObject->MajorFunction[IRP_MJ_CREATE] = (PDRIVER_DISPATCH)Dispatch;
|
||||||
DriverObject->MajorFunction[IRP_MJ_WRITE] = Dispatch;
|
DriverObject->MajorFunction[IRP_MJ_WRITE] = (PDRIVER_DISPATCH)Dispatch;
|
||||||
DriverObject->DriverUnload = NULL;
|
DriverObject->DriverUnload = NULL;
|
||||||
|
|
||||||
return(STATUS_SUCCESS);
|
return(STATUS_SUCCESS);
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
base.tmp
|
*.tmp
|
||||||
junk.tmp
|
*.exp
|
||||||
temp.exp
|
*.coff
|
||||||
ramdrv.coff
|
*.d
|
||||||
ramdrv.sys
|
*.o
|
||||||
ramdrv.sys.unstripped
|
*.sym
|
||||||
|
*.sys
|
||||||
*.map
|
*.map
|
||||||
|
|
|
@ -101,11 +101,11 @@ NTSTATUS STDCALL DriverEntry(IN PDRIVER_OBJECT DriverObject,
|
||||||
DPRINT("Ramdisk driver\n");
|
DPRINT("Ramdisk driver\n");
|
||||||
|
|
||||||
/* Export other driver entry points... */
|
/* Export other driver entry points... */
|
||||||
DriverObject->MajorFunction[IRP_MJ_CREATE] = RamdrvDispatchOpenClose;
|
DriverObject->MajorFunction[IRP_MJ_CREATE] = (PDRIVER_DISPATCH)RamdrvDispatchOpenClose;
|
||||||
DriverObject->MajorFunction[IRP_MJ_CLOSE] = RamdrvDispatchOpenClose;
|
DriverObject->MajorFunction[IRP_MJ_CLOSE] = (PDRIVER_DISPATCH)RamdrvDispatchOpenClose;
|
||||||
DriverObject->MajorFunction[IRP_MJ_READ] = RamdrvDispatchReadWrite;
|
DriverObject->MajorFunction[IRP_MJ_READ] = (PDRIVER_DISPATCH)RamdrvDispatchReadWrite;
|
||||||
DriverObject->MajorFunction[IRP_MJ_WRITE] = RamdrvDispatchReadWrite;
|
DriverObject->MajorFunction[IRP_MJ_WRITE] = (PDRIVER_DISPATCH)RamdrvDispatchReadWrite;
|
||||||
DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = RamdrvDispatchDeviceControl;
|
DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = (PDRIVER_DISPATCH)RamdrvDispatchDeviceControl;
|
||||||
|
|
||||||
|
|
||||||
// create device and symbolic link
|
// create device and symbolic link
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
base.tmp
|
*.tmp
|
||||||
junk.tmp
|
*.exp
|
||||||
temp.exp
|
*.coff
|
||||||
|
*.d
|
||||||
*.o
|
*.o
|
||||||
serial.coff
|
*.sym
|
||||||
serial.sys
|
*.sys
|
||||||
serial.sym
|
|
||||||
serial.nostrip.sys
|
|
||||||
*.map
|
*.map
|
||||||
|
|
|
@ -233,12 +233,13 @@ DrvPaint(IN SURFOBJ *Surface,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
doBitBlt:
|
doBitBlt:
|
||||||
|
|
||||||
// If VGADDIPaint can't do it, VGADDIBitBlt can.. or it might just loop back
|
// If VGADDIPaint can't do it, VGADDIBitBlt can.. or it might just loop back
|
||||||
// here and we have a nice infinite loop
|
// here and we have a nice infinite loop
|
||||||
|
|
||||||
/* return( VGADDIBitBlt(Surface, (SURFOBJ *)NULL, (SURFOBJ *)NULL, ClipRegion,
|
return( VGADDIBitBlt(Surface, (SURFOBJ *)NULL, (SURFOBJ *)NULL, ClipRegion,
|
||||||
(XLATEOBJ *)NULL, &ClipRegion->rclBounds,
|
(XLATEOBJ *)NULL, &ClipRegion->rclBounds,
|
||||||
NULL, (POINTL *)NULL, Brush, BrushOrigin,
|
NULL, (POINTL *)NULL, Brush, BrushOrigin,
|
||||||
NULL) ); UNIMPLEMENTED */
|
NULL) ); UNIMPLEMENTED */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue