Rm use of non-standard __func__ in example programs
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
9efbf53f0e
commit
763641a3f5
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ void print_out( const char *title, unsigned char *out, size_t len )
|
|||
do { \
|
||||
ret = code; \
|
||||
if( ret != 0 ) { \
|
||||
printf( "%s:%03d: ret = -0x%04x\n", __func__, __LINE__, (unsigned) -ret ); \
|
||||
printf( "%03d: ret = -0x%04x\n", __LINE__, (unsigned) -ret ); \
|
||||
goto exit; \
|
||||
} \
|
||||
} while( 0 )
|
||||
|
@ -210,7 +210,7 @@ exit:
|
|||
do { \
|
||||
status = code; \
|
||||
if( status != PSA_SUCCESS ) { \
|
||||
printf( "%s:%03d: status = %d\n", __func__, __LINE__, status ); \
|
||||
printf( "%03d: status = %d\n", __LINE__, status ); \
|
||||
goto exit; \
|
||||
} \
|
||||
} while( 0 )
|
||||
|
|
Loading…
Reference in a new issue