-#include <stddef.h>\r
-#include <windows.h>\r
-\r
-#ifndef REGTEST\r
-extern PIMAGE_TLS_CALLBACK __crt_xl_start__;\r
-#ifdef __GNUC__\r
-__attribute__((section(".CRT$XLZZZ")))\r
-#else\r
-__declspec(allocate(".CRT$XLZZZ")) \r
-#endif\r
-PIMAGE_TLS_CALLBACK __crt_xl_end__ = NULL;\r
-\r
-/* Runs all TLS callbacks registered in the executable\r
- */\r
-\r
-void NTAPI _PDCLIB_runTlsCallbacks(void * image, DWORD reason, PVOID pv);\r
-void NTAPI _PDCLIB_runTlsCallbacks(void * image, DWORD reason, PVOID pv)\r
-{\r
- PIMAGE_TLS_CALLBACK * pcb = &__crt_xl_start__;\r
-\r
- while(*pcb) (*(pcb++))(image, reason, pv);\r
-}\r
-#endif\r
-\r
-#ifdef TEST\r
-#include <_PDCLIB_test.h>\r
-\r
-/* Tested in tss_get.c */\r
-int main( void )\r
-{\r
- return TEST_RESULTS;\r
-}\r
-\r
-#endif
\ No newline at end of file
+/* _PDCLIB_runTlsCallbacks( void *, DWORD, PVOID )
+
+ This file is part of the Public Domain C Library (PDCLib).
+ Permission is granted to use, modify, and / or redistribute at will.
+*/
+
+#include <stddef.h>
+#include <windows.h>
+
+#ifndef REGTEST
+extern PIMAGE_TLS_CALLBACK __crt_xl_start__;
+#ifdef __GNUC__
+__attribute__((section(".CRT$XLZZZ")))
+#else
+__declspec(allocate(".CRT$XLZZZ"))
+#endif
+PIMAGE_TLS_CALLBACK __crt_xl_end__ = NULL;
+
+/* Runs all TLS callbacks registered in the executable
+ */
+
+void NTAPI _PDCLIB_runTlsCallbacks(void * image, DWORD reason, PVOID pv);
+void NTAPI _PDCLIB_runTlsCallbacks(void * image, DWORD reason, PVOID pv)
+{
+ PIMAGE_TLS_CALLBACK * pcb = &__crt_xl_start__;
+
+ while(*pcb) (*(pcb++))(image, reason, pv);
+}
+#endif
+
+#ifdef TEST
+#include "_PDCLIB_test.h"
+
+/* Tested in tss_get.c */
+int main( void )
+{
+ return TEST_RESULTS;
+}
+
+#endif