diff options
Diffstat (limited to 'dll.c')
-rw-r--r-- | dll.c | 21 |
1 files changed, 8 insertions, 13 deletions
@@ -54,14 +54,9 @@ * Dear c++: Please don't mangle this name. -thanks */ extern "C" -#endif /* __cplusplus */ - -BOOL WINAPI -DllMain ( - HINSTANCE hinstDll, - DWORD fdwReason, - LPVOID lpvReserved -) +#endif /* __cplusplus */ + BOOL WINAPI +DllMain (HINSTANCE hinstDll, DWORD fdwReason, LPVOID lpvReserved) { BOOL result = PTW32_TRUE; @@ -69,26 +64,26 @@ DllMain ( { case DLL_PROCESS_ATTACH: - result = pthread_win32_process_attach_np(); + result = pthread_win32_process_attach_np (); break; case DLL_THREAD_ATTACH: /* * A thread is being created */ - result = pthread_win32_thread_attach_np(); + result = pthread_win32_thread_attach_np (); break; case DLL_THREAD_DETACH: /* * A thread is exiting cleanly */ - result = pthread_win32_thread_detach_np(); + result = pthread_win32_thread_detach_np (); break; case DLL_PROCESS_DETACH: - (void) pthread_win32_thread_detach_np(); - result = pthread_win32_process_detach_np(); + (void) pthread_win32_thread_detach_np (); + result = pthread_win32_process_detach_np (); break; } return (result); |