diff options
author | Craig Tiller <ctiller@google.com> | 2016-03-16 14:59:36 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-03-16 14:59:36 -0700 |
commit | adf3a9d0b06359f07a22a5b2d37638c7f9a4ad02 (patch) | |
tree | fbc62c2eb664a80182173c13304f6b2fa3b6b216 /test | |
parent | c9c0b8bf42e2fe41ff55318eb45d2716bcf0fc68 (diff) |
clang-fmt
Diffstat (limited to 'test')
-rw-r--r-- | test/core/util/test_config.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/core/util/test_config.c b/test/core/util/test_config.c index ede9118ac5..15ba78413c 100644 --- a/test/core/util/test_config.c +++ b/test/core/util/test_config.c @@ -66,8 +66,8 @@ static unsigned seed(void) { return _getpid(); } static void print_current_stack() { typedef USHORT(WINAPI * CaptureStackBackTraceType)( __in ULONG, __in ULONG, __out PVOID *, __out_opt PULONG); - CaptureStackBackTraceType func = (CaptureStackBackTraceType)( - GetProcAddress(LoadLibrary(_T("kernel32.dll")), "RtlCaptureStackBackTrace")); + CaptureStackBackTraceType func = (CaptureStackBackTraceType)(GetProcAddress( + LoadLibrary(_T("kernel32.dll")), "RtlCaptureStackBackTrace")); if (func == NULL) return; // WOE 29.SEP.2010 @@ -84,7 +84,8 @@ static void print_current_stack() { process = GetCurrentProcess(); SymInitialize(process, NULL, TRUE); frames = (func)(0, MAX_CALLERS, callers_stack, NULL); - symbol = (SYMBOL_INFOW *)calloc(sizeof(SYMBOL_INFOW) + 256 * sizeof(wchar_t), 1); + symbol = + (SYMBOL_INFOW *)calloc(sizeof(SYMBOL_INFOW) + 256 * sizeof(wchar_t), 1); symbol->MaxNameLen = 255; symbol->SizeOfStruct = sizeof(SYMBOL_INFOW); |