summaryrefslogtreecommitdiffstats
path: root/test/src/test-stress.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/test-stress.cpp')
-rw-r--r--test/src/test-stress.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/src/test-stress.cpp b/test/src/test-stress.cpp
index 50b5f34..07cc733 100644
--- a/test/src/test-stress.cpp
+++ b/test/src/test-stress.cpp
@@ -20,6 +20,9 @@
#include "XGetopt.h"
#endif
+int startedAt;
+int lastTransitionAt;
+
#ifdef HAS_EXECINFO_H
void printBacktrace(void** array, int size) {
char** messages = backtrace_symbols(array, size);
@@ -30,9 +33,6 @@ void printBacktrace(void** array, int size) {
free(messages);
}
-int startedAt;
-int lastTransitionAt;
-
#ifdef HAS_DLFCN_H
// see https://gist.github.com/nkuln/2020860
typedef void (*cxa_throw_type)(void *, void *, void (*) (void *));