mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-25 00:18:16 +00:00
Fix compile bug: incompatible declaration of polarssl_exit in platform.c
This causes a compile-time error: platform.c(157): error: #147: declaration is incompatible with "void (*polarssl_exit)(int)" (declared at line 179 of "platform.h")
This commit is contained in:
parent
d22514e8f6
commit
249bece013
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ static void platform_exit_uninit( int status )
|
||||||
#define POLARSSL_PLATFORM_STD_EXIT platform_exit_uninit
|
#define POLARSSL_PLATFORM_STD_EXIT platform_exit_uninit
|
||||||
#endif /* !POLARSSL_PLATFORM_STD_EXIT */
|
#endif /* !POLARSSL_PLATFORM_STD_EXIT */
|
||||||
|
|
||||||
int (*polarssl_exit)( int status ) = POLARSSL_PLATFORM_STD_EXIT;
|
void (*polarssl_exit)( int status ) = POLARSSL_PLATFORM_STD_EXIT;
|
||||||
|
|
||||||
int platform_set_exit( void (*exit_func)( int status ) )
|
int platform_set_exit( void (*exit_func)( int status ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue