mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-17 20:42:44 +00:00
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
@ -59,13 +59,6 @@
|
|||||||
#define inline __inline
|
#define inline __inline
|
||||||
#endif
|
#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)
|
#if !defined(MBEDTLS_CONFIG_FILE)
|
||||||
#include "mbedtls/mbedtls_config.h"
|
#include "mbedtls/mbedtls_config.h"
|
||||||
#else
|
#else
|
||||||
|
@ -142,4 +142,11 @@ inline void mbedtls_xor(unsigned char *r, const unsigned char *a, const unsigned
|
|||||||
#define /*no-check-names*/ __func__ __FUNCTION__
|
#define /*no-check-names*/ __func__ __FUNCTION__
|
||||||
#endif
|
#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 */
|
#endif /* MBEDTLS_LIBRARY_COMMON_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user