mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Workaround Uncrustify parsing of "asm"
The following code: #ifndef asm #define asm __asm #endif causes Uncrustify to stop correcting the rest of the file. This may be due to parsing the "asm" keyword in the definition. Work around this by wrapping the idiom in an *INDENT-OFF* comment wherever it appears. Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
@ -89,9 +89,11 @@ static int mbedtls_a64_crypto_sha256_determine_support( void )
|
||||
#include <signal.h>
|
||||
#include <setjmp.h>
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
#ifndef asm
|
||||
#define asm __asm__
|
||||
#endif
|
||||
/* *INDENT-ON* */
|
||||
|
||||
static jmp_buf return_from_sigill;
|
||||
|
||||
|
Reference in New Issue
Block a user