Removing unneded extern declaration of a callback and including common.h where the cb is needed

Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
diff --git a/include/mbedtls/error.h b/include/mbedtls/error.h
index f00b4f5..9a8690d 100644
--- a/include/mbedtls/error.h
+++ b/include/mbedtls/error.h
@@ -129,7 +129,6 @@
  *        Only used when invasive testing is enabled via MBEDTLS_TEST_HOOKS.
  */
 extern void (*mbedtls_test_hook_error_add)( int, int, const char *, int );
-extern void (*mbedtls_test_hook_test_fail)( const char * test, int line, const char * file );
 #endif
 
 /**
diff --git a/tests/suites/main_test.function b/tests/suites/main_test.function
index 80c730b..6a87e80 100644
--- a/tests/suites/main_test.function
+++ b/tests/suites/main_test.function
@@ -24,6 +24,7 @@
 #endif
 
 #include "mbedtls/build_info.h"
+#include "common.h"
 
 /* Test code may use deprecated identifiers only if the preprocessor symbol
  * MBEDTLS_TEST_DEPRECATED is defined. When building tests, set