mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-08-25 11:48:29 +02:00
* Alternate Thread Creation API To Avoid Memory Leaks - Switched from CreateThread() to _beginthreadex() and ExitThread() to _endthreadex() in order to avoid potential leaks when linking with static CRT library. - Addressed a variety of warnings that were being detected with static code analysis. * Addressed Type Cast Warning - Added explicit cast to the output of _beginthreadex() to avoid a compiler warning. * Indentation Fix
17 lines
405 B
C
17 lines
405 B
C
#pragma once
|
|
|
|
void __declspec(noreturn) fatal(const char *, ...);
|
|
void error(const char *, ...);
|
|
void verbose(const char *, ...);
|
|
void debug(const char *, ...);
|
|
void debug2(const char *, ...);
|
|
void debug3(const char *, ...);
|
|
|
|
/* Enable the following for verbose logging */
|
|
#if (0)
|
|
#define debug4 debug2
|
|
#define debug5 debug3
|
|
#else
|
|
#define debug4(a,...)
|
|
#define debug5(a,...)
|
|
#endif |