[ofw] [PATCH] libraries: convert DllMain from BOOLEAN to BOOL
Sean Hefty
sean.hefty at intel.com
Mon Jun 22 12:05:42 PDT 2009
DllMain should be BOOL - a typedef for int, rather than BOOLEAN -
a typedef for BYTE.
Signed-off-by: Sean Hefty <sean.hefty at intel.com>
---
diff -up -r -X \mshefty\scm\winof\trunk\docs\dontdiff.txt -I '\$Id:' trunk\ulp\libibmad/src/ibmad_main.cpp
branches\winverbs\ulp\libibmad/src/ibmad_main.cpp
--- trunk\ulp\libibmad/src/ibmad_main.cpp 2009-06-11 10:31:55.330500000 -0700
+++ branches\winverbs\ulp\libibmad/src/ibmad_main.cpp 2009-06-17 12:27:47.372412000 -0700
@@ -33,7 +33,7 @@
#include "..\..\..\..\etc\user\inet.c"
#endif
-BOOLEAN WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
+BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
UNREFERENCED_PARAMETER(hInstance);
UNREFERENCED_PARAMETER(dwReason);
diff -up -r -X \mshefty\scm\winof\trunk\docs\dontdiff.txt -I '\$Id:' trunk\ulp\libibumad/src/ibum_main.cpp
branches\winverbs\ulp\libibumad/src/ibum_main.cpp
--- trunk\ulp\libibumad/src/ibum_main.cpp 2009-06-11 10:32:03.689875000 -0700
+++ branches\winverbs\ulp\libibumad/src/ibum_main.cpp 2009-06-17 12:27:47.638055700 -0700
@@ -29,7 +29,7 @@
#include <windows.h>
-BOOLEAN WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
+BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
UNREFERENCED_PARAMETER(hInstance);
UNREFERENCED_PARAMETER(dwReason);
diff -up -r -X \mshefty\scm\winof\trunk\docs\dontdiff.txt -I '\$Id:' trunk\ulp\libibverbs/src/ibv_main.cpp
branches\winverbs\ulp\libibverbs/src/ibv_main.cpp
--- trunk\ulp\libibverbs/src/ibv_main.cpp 2009-06-11 10:31:56.314875000 -0700
+++ branches\winverbs\ulp\libibverbs/src/ibv_main.cpp 2009-06-17 12:27:47.934951600 -0700
@@ -31,7 +31,7 @@
extern CRITICAL_SECTION lock;
-BOOLEAN WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
+BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
UNREFERENCED_PARAMETER(hInstance);
UNREFERENCED_PARAMETER(dwReason);
diff -up -r -X \mshefty\scm\winof\trunk\docs\dontdiff.txt -I '\$Id:' trunk\ulp\librdmacm/src/cma_main.cpp
branches\winverbs\ulp\librdmacm/src/cma_main.cpp
--- trunk\ulp\librdmacm/src/cma_main.cpp 2009-06-11 10:32:04.268000000 -0700
+++ branches\winverbs\ulp\librdmacm/src/cma_main.cpp 2009-06-17 12:27:47.513046900 -0700
@@ -32,7 +32,7 @@
CRITICAL_SECTION lock;
-BOOLEAN WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
+BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
UNREFERENCED_PARAMETER(hInstance);
UNREFERENCED_PARAMETER(dwReason);
diff -up -r -X \mshefty\scm\winof\trunk\docs\dontdiff.txt -I '\$Id:' trunk\core\winverbs/user/wv_main.cpp
branches\winverbs\core\winverbs/user/wv_main.cpp
--- trunk\core\winverbs/user/wv_main.cpp 2009-06-11 10:32:49.439875000 -0700
+++ branches\winverbs\core\winverbs/user/wv_main.cpp 2009-06-17 12:25:31.284707100 -0700
@@ -33,7 +33,7 @@
volatile LONG WvRef;
-BOOLEAN WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
+BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
UNREFERENCED_PARAMETER(hInstance);
UNREFERENCED_PARAMETER(dwReason);
diff -up -r -X \mshefty\scm\winof\trunk\docs\dontdiff.txt -I '\$Id:' trunk\core\winmad/user/wm_main.cpp
branches\winverbs\core\winmad/user/wm_main.cpp
--- trunk\core\winmad/user/wm_main.cpp 2009-06-11 10:32:47.721125000 -0700
+++ branches\winverbs\core\winmad/user/wm_main.cpp 2009-06-17 12:27:47.763064500 -0700
@@ -31,7 +31,7 @@
volatile LONG WmRef;
-BOOLEAN WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
+BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
UNREFERENCED_PARAMETER(hInstance);
UNREFERENCED_PARAMETER(dwReason);
More information about the ofw
mailing list