aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/utils/test.h')
-rw-r--r--src/libstrongswan/utils/test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/utils/test.h b/src/libstrongswan/utils/test.h
index 5b7289244..b43a92b1f 100644
--- a/src/libstrongswan/utils/test.h
+++ b/src/libstrongswan/utils/test.h
@@ -51,7 +51,7 @@ void testable_function_register(char *name, void *fn);
* @param fn function to register
*/
#define EXPORT_FUNCTION_FOR_TESTS(ns, fn) \
-static void testable_function_register_##fn() __attribute__ ((constructor(2000))); \
+static void testable_function_register_##fn() __attribute__ ((constructor)); \
static void testable_function_register_##fn() \
{ \
testable_function_register(#ns "/" #fn, fn); \