[DHCPCSVC]: Forgot this code formatting in my previous commit.

svn path=/trunk/; revision=64293
This commit is contained in:
Hermès Bélusca-Maïto 2014-09-25 23:45:30 +00:00
parent 33f5eed378
commit 507f6b105a
2 changed files with 6 additions and 10 deletions

View file

@ -28,10 +28,6 @@ add_library(dhcpcsvc SHARED
${CMAKE_CURRENT_BINARY_DIR}/dhcpcsvc.def) ${CMAKE_CURRENT_BINARY_DIR}/dhcpcsvc.def)
set_module_type(dhcpcsvc win32dll) set_module_type(dhcpcsvc win32dll)
add_importlibs(dhcpcsvc ws2_32 iphlpapi advapi32 msvcrt kernel32 ntdll) add_importlibs(dhcpcsvc ws2_32 iphlpapi advapi32 msvcrt kernel32 ntdll)
add_pch(dhcpcsvc include/rosdhcp.h SOURCE) add_pch(dhcpcsvc include/rosdhcp.h SOURCE)
add_cd_file(TARGET dhcpcsvc DESTINATION reactos/system32 FOR all) add_cd_file(TARGET dhcpcsvc DESTINATION reactos/system32 FOR all)

View file

@ -419,15 +419,15 @@ ServiceMain(DWORD argc, LPWSTR* argv)
UpdateServiceStatus(SERVICE_STOPPED); UpdateServiceStatus(SERVICE_STOPPED);
} }
INT WINAPI BOOL WINAPI
DllMain(PVOID hinstDll, DllMain(HINSTANCE hinstDLL,
ULONG dwReason, DWORD fdwReason,
PVOID reserved) LPVOID lpvReserved)
{ {
switch (dwReason) switch (fdwReason)
{ {
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDll); DisableThreadLibraryCalls(hinstDLL);
break; break;
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH: