libraries: convert DllMain from BOOLEAN to BOOL
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 24 Jun 2009 18:06:17 +0000 (18:06 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 24 Jun 2009 18:06:17 +0000 (18:06 +0000)
DllMain should be BOOL - a typedef for int, rather than BOOLEAN -
a typedef for BYTE.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2265 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/winmad/user/wm_main.cpp
core/winverbs/user/wv_main.cpp
ulp/libibmad/src/ibmad_main.cpp
ulp/libibumad/src/ibum_main.cpp
ulp/libibverbs/src/ibv_main.cpp
ulp/librdmacm/src/cma_main.cpp

index 59a19e6..e8c6d57 100644 (file)
@@ -31,7 +31,7 @@
 \r
 volatile LONG WmRef;\r
 \r
-BOOLEAN WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)\r
+BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)\r
 {\r
        UNREFERENCED_PARAMETER(hInstance);\r
        UNREFERENCED_PARAMETER(dwReason);\r
index 2796c94..d1b5d02 100644 (file)
@@ -33,7 +33,7 @@
 \r
 volatile LONG WvRef;\r
 \r
-BOOLEAN WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)\r
+BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)\r
 {\r
        UNREFERENCED_PARAMETER(hInstance);\r
        UNREFERENCED_PARAMETER(dwReason);\r
index dc1d374..d95ba15 100644 (file)
@@ -33,7 +33,7 @@
 #include "..\..\..\..\etc\user\inet.c"\r
 #endif\r
 \r
-BOOLEAN WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)\r
+BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)\r
 {\r
        UNREFERENCED_PARAMETER(hInstance);\r
        UNREFERENCED_PARAMETER(dwReason);\r
index f57d13c..a308a55 100644 (file)
@@ -29,7 +29,7 @@
 \r
 #include <windows.h>\r
 \r
-BOOLEAN WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)\r
+BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)\r
 {\r
        UNREFERENCED_PARAMETER(hInstance);\r
        UNREFERENCED_PARAMETER(dwReason);\r
index bfa00d7..04f4de5 100644 (file)
@@ -31,7 +31,7 @@
 \r
 extern CRITICAL_SECTION lock;\r
 \r
-BOOLEAN WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)\r
+BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)\r
 {\r
        UNREFERENCED_PARAMETER(hInstance);\r
        UNREFERENCED_PARAMETER(dwReason);\r
index 2daead7..44519eb 100644 (file)
@@ -32,7 +32,7 @@
 \r
 CRITICAL_SECTION lock;\r
 \r
-BOOLEAN WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)\r
+BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)\r
 {\r
        UNREFERENCED_PARAMETER(hInstance);\r
        UNREFERENCED_PARAMETER(dwReason);\r