mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Change noinline to dontinline (#312)
We defined `noinline` as an abbreviation for the longer version `__attribute__((__noinline__))` which caused name clashes since third party codebases often write it as `__attribute__((noinline))`.
This commit is contained in:
parent
ca611efc43
commit
6f658f058b
59 changed files with 122 additions and 122 deletions
2
third_party/mbedtls/aes.c
vendored
2
third_party/mbedtls/aes.c
vendored
|
@ -368,7 +368,7 @@ static uint32_t RCON[10];
|
|||
|
||||
static int aes_init_done;
|
||||
|
||||
static noinline void aes_gen_tables( void )
|
||||
static dontinline void aes_gen_tables( void )
|
||||
{
|
||||
int i, x, y, z;
|
||||
int pow[256];
|
||||
|
|
2
third_party/mbedtls/ecp.c
vendored
2
third_party/mbedtls/ecp.c
vendored
|
@ -3128,7 +3128,7 @@ int mbedtls_ecp_check_pubkey( const mbedtls_ecp_group *grp,
|
|||
* private key for the given curve.
|
||||
* \return Another negative error code on other kinds of failure.
|
||||
*/
|
||||
noinline int mbedtls_ecp_check_privkey( const mbedtls_ecp_group *grp,
|
||||
dontinline int mbedtls_ecp_check_privkey( const mbedtls_ecp_group *grp,
|
||||
const mbedtls_mpi *d )
|
||||
{
|
||||
ECP_VALIDATE_RET( grp );
|
||||
|
|
2
third_party/mbedtls/test/lib.c
vendored
2
third_party/mbedtls/test/lib.c
vendored
|
@ -794,7 +794,7 @@ static int convert_params(size_t cnt, char **params, int *int_params_store) {
|
|||
*
|
||||
* \return 0 for success else 1
|
||||
*/
|
||||
static noinline int test_snprintf(size_t n, const char *ref_buf, int ref_ret) {
|
||||
static dontinline int test_snprintf(size_t n, const char *ref_buf, int ref_ret) {
|
||||
int ret;
|
||||
char buf[10] = "xxxxxxxxx";
|
||||
const char ref[10] = "xxxxxxxxx";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue