memcpy(retval, ptr, *old_size);
}
/*
- * Mimick that a NULL pointer has been received, so
+ * Mimic that a NULL pointer has been received, so
* memory allocation analysis based on the trace don't
* get confused by the address from the static
* allocator.
static
void lttng_ust_malloc_nesting_alloc_tls(void)
{
- asm volatile ("" : : "m" (URCU_TLS(malloc_nesting)));
+ __asm__ __volatile__ ("" : : "m" (URCU_TLS(malloc_nesting)));
}
void lttng_ust_libc_wrapper_malloc_ctor(void)