Author: sserapion Date: Sun May 30 09:30:33 2010 New Revision: 47435
URL: http://svn.reactos.org/svn/reactos?rev=47435&view=rev Log: Fix grievously wrong declaration of DriverEntry() which lead to linker warning.
Modified: branches/ros-amd64-bringup/reactos/drivers/storage/port/buslogic/BusLogic958.c branches/ros-amd64-bringup/reactos/drivers/storage/port/buslogic/BusLogic958.h
Modified: branches/ros-amd64-bringup/reactos/drivers/storage/port/buslogic/BusLogic958.c URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/driver... ============================================================================== --- branches/ros-amd64-bringup/reactos/drivers/storage/port/buslogic/BusLogic958.c [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/drivers/storage/port/buslogic/BusLogic958.c [iso-8859-1] Sun May 30 09:30:33 2010 @@ -79,11 +79,9 @@
#include "BusLogic958.h"
-ULONG -NTAPI -DriverEntry(IN PVOID DriverObject, - IN PVOID Argument2 - ) +NTSTATUS +DriverEntry(IN PDRIVER_OBJECT DriverObject, + IN PUNICODE_STRING RegistryPath) //_________________________________________________________________________ // Routine Description: // Installable driver initialization entry point for system. @@ -157,7 +155,7 @@ DebugPrint((TRACE,"\n BusLogic - Calling the ScsiPortInitialize Routine\n"));
Status = ScsiPortInitialize(DriverObject, - Argument2, + RegistryPath, &hwInitializationData, &HwContext);
Modified: branches/ros-amd64-bringup/reactos/drivers/storage/port/buslogic/BusLogic958.h URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/driver... ============================================================================== --- branches/ros-amd64-bringup/reactos/drivers/storage/port/buslogic/BusLogic958.h [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/drivers/storage/port/buslogic/BusLogic958.h [iso-8859-1] Sun May 30 09:30:33 2010 @@ -814,11 +814,6 @@ //_________________________________________________________________________________________ // function declaractions //_________________________________________________________________________________________ -ULONG -NTAPI -DriverEntry(IN PVOID DriverObject, - IN PVOID Argument2 - );
ULONG NTAPI