Fix a bunch of gcc warnings in packettest.c
[openssl.git] / test / threadstest.c
index 9c735ff8c6ef634e6cae72922e1413be5a15709a..ee09f86930d51d3f034acecbe5cfb989034e43d7 100644 (file)
@@ -12,7 +12,6 @@
 #endif
 
 #include <openssl/crypto.h>
-#include "test_main.h"
 #include "testutil.h"
 
 #if !defined(OPENSSL_THREADS) || defined(CRYPTO_TDEBUG)
@@ -185,9 +184,10 @@ static int test_thread_local(void)
     return 1;
 }
 
-void register_tests(void)
+int setup_tests(void)
 {
     ADD_TEST(test_lock);
     ADD_TEST(test_once);
     ADD_TEST(test_thread_local);
+    return 1;
 }