Move definition of asm out of public header
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
95ec58cc12
commit
fa96026a0e
2 changed files with 7 additions and 7 deletions
|
@ -59,13 +59,6 @@
|
|||
#define inline __inline
|
||||
#endif
|
||||
|
||||
/* Define `asm` for compilers which don't define it. */
|
||||
/* *INDENT-OFF* */
|
||||
#ifndef asm
|
||||
#define asm __asm__
|
||||
#endif
|
||||
/* *INDENT-ON* */
|
||||
|
||||
#if !defined(MBEDTLS_CONFIG_FILE)
|
||||
#include "mbedtls/mbedtls_config.h"
|
||||
#else
|
||||
|
|
|
@ -142,4 +142,11 @@ inline void mbedtls_xor(unsigned char *r, const unsigned char *a, const unsigned
|
|||
#define /*no-check-names*/ __func__ __FUNCTION__
|
||||
#endif
|
||||
|
||||
/* Define `asm` for compilers which don't define it. */
|
||||
/* *INDENT-OFF* */
|
||||
#ifndef asm
|
||||
#define asm __asm__
|
||||
#endif
|
||||
/* *INDENT-ON* */
|
||||
|
||||
#endif /* MBEDTLS_LIBRARY_COMMON_H */
|
||||
|
|
Loading…
Reference in a new issue