Commit 49549455 authored by Andreas Gustafsson's avatar Andreas Gustafsson

coding style

parent 15903c9f
......@@ -14,13 +14,12 @@
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: DLLMain.c,v 1.1 2001/07/16 05:10:29 mayer Exp $ */
/* $Id: DLLMain.c,v 1.2 2001/07/17 19:16:50 gson Exp $ */
#include <windows.h>
#include <signal.h>
BOOL InitSockets(void);
/*
* Called when we enter the DLL
......@@ -28,7 +27,6 @@ BOOL InitSockets(void);
__declspec(dllexport) BOOL WINAPI DllMain(HINSTANCE hinstDLL,
DWORD fdwReason, LPVOID lpvReserved)
{
switch (fdwReason) {
/*
* The DLL is loading due to process
......@@ -55,6 +53,6 @@ __declspec(dllexport) BOOL WINAPI DllMain(HINSTANCE hinstDLL,
default:
break;
}
return (TRUE);
return (TRUE);
}
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: DLLMain.c,v 1.2 2001/07/08 05:08:54 mayer Exp $ */
/* $Id: DLLMain.c,v 1.3 2001/07/17 19:16:55 gson Exp $ */
#include <windows.h>
#include <stdio.h>
......@@ -29,7 +29,6 @@ void isc_time_initepoch();
__declspec(dllexport) BOOL WINAPI DllMain(HINSTANCE hinstDLL,
DWORD fdwReason, LPVOID lpvReserved)
{
switch (fdwReason)
{
/*
......@@ -60,6 +59,6 @@ __declspec(dllexport) BOOL WINAPI DllMain(HINSTANCE hinstDLL,
default:
break;
}
return (TRUE);
return (TRUE);
}
......@@ -15,21 +15,19 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: DLLMain.c,v 1.2 2001/07/17 06:13:59 mayer Exp $ */
/* $Id: DLLMain.c,v 1.3 2001/07/17 19:16:59 gson Exp $ */
#include <windows.h>
#include <signal.h>
BOOL InitSockets(void);
/*
* Called when we enter the DLL
*/
__declspec(dllexport) BOOL WINAPI DllMain( HINSTANCE hinstDLL,
DWORD fdwReason, LPVOID lpvReserved)
__declspec(dllexport) BOOL WINAPI DllMain(HINSTANCE hinstDLL,
DWORD fdwReason, LPVOID lpvReserved)
{
switch (fdwReason) {
/*
* The DLL is loading due to process
......@@ -56,6 +54,6 @@ __declspec(dllexport) BOOL WINAPI DllMain( HINSTANCE hinstDLL,
default:
break;
}
return(TRUE);
return (TRUE);
}
......@@ -19,15 +19,13 @@
#include <signal.h>
BOOL InitSockets(void);
/*
* Called when we enter the DLL
*/
__declspec(dllexport) BOOL WINAPI DllMain( HINSTANCE hinstDLL,
DWORD fdwReason, LPVOID lpvReserved)
__declspec(dllexport) BOOL WINAPI DllMain(HINSTANCE hinstDLL,
DWORD fdwReason, LPVOID lpvReserved)
{
switch (fdwReason)
{
/*
......@@ -57,6 +55,6 @@ __declspec(dllexport) BOOL WINAPI DllMain( HINSTANCE hinstDLL,
default:
break;
}
return(TRUE);
return (TRUE);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment