]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
coding style
authorAndreas Gustafsson <source@isc.org>
Tue, 17 Jul 2001 19:17:02 +0000 (19:17 +0000)
committerAndreas Gustafsson <source@isc.org>
Tue, 17 Jul 2001 19:17:02 +0000 (19:17 +0000)
lib/dns/win32/DLLMain.c
lib/isc/win32/DLLMain.c
lib/isccc/win32/DLLMain.c
lib/isccfg/win32/DLLMain.c

index 9987645f45ab09bc58481626d1bae9153cbba744..206c850c65a1dc9240aacd0cb66b03d5f637342a 100644 (file)
  * 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);
 }
 
index 4f3666585d7f1b780645c8abcf383bca36c2720c..47da0fe4bc2473fac6dbbbee2ebac415c810c336 100644 (file)
@@ -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);
 }
 
index 61db1b985cf7f7984e5f38309fed19985b487395..4d343e8d36ab26995d2e9282713a179865f71e92 100644 (file)
  * 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);
 }
 
index 727e4899334f82cd5f247a9559b353707697bf5b..a7b5639bc529593027471c958a1065f7ec4252f9 100644 (file)
 #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);
 }