Remove redundant inline workarounds

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2022-11-25 17:11:45 +00:00
parent 5a1d00f03d
commit a616afeae4
2 changed files with 1 additions and 9 deletions

View file

@ -26,10 +26,7 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#if ( defined(__ARMCC_VERSION) || defined(_MSC_VER) ) && \ #include "mbedtls/build_info.h"
!defined(inline) && !defined(__cplusplus)
#define inline __inline
#endif
/** /**
* Read the unsigned 32 bits integer from the given address, which need not * Read the unsigned 32 bits integer from the given address, which need not

View file

@ -30,11 +30,6 @@
#include <stdint.h> #include <stdint.h>
#include <stddef.h> #include <stddef.h>
#if ( defined(__ARMCC_VERSION) || defined(_MSC_VER) ) && \
!defined(inline) && !defined(__cplusplus)
#define inline __inline
#endif
/** Helper to define a function as static except when building invasive tests. /** Helper to define a function as static except when building invasive tests.
* *
* If a function is only used inside its own source file and should be * If a function is only used inside its own source file and should be