Home
last modified time | relevance | path

Searched hist:c0ce02ed1cb00f59a8cdd66b4228b9798b560887 (Results 1 – 2 of 2) sorted by relevance

/optee_os/lib/libutee/include/
H A Dtee_api.hc0ce02ed1cb00f59a8cdd66b4228b9798b560887 Tue Apr 24 09:10:22 UTC 2018 Jens Wiklander <jens.wiklander@linaro.org> TEE_Realloc(): fix invalid declaration

Prior to this was TEE_Realloc() declared as:

void *TEE_Realloc(const void *buffer, uint32_t newSize);

This does not make sense as the argument buffer can and will be changed
as a result of calling this function. Instead fix the declaration to be:

void *TEE_Realloc(void *buffer, uint32_t newSize);

This is also more in line with realloc().

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
/optee_os/lib/libutee/
H A Dtee_api.cc0ce02ed1cb00f59a8cdd66b4228b9798b560887 Tue Apr 24 09:10:22 UTC 2018 Jens Wiklander <jens.wiklander@linaro.org> TEE_Realloc(): fix invalid declaration

Prior to this was TEE_Realloc() declared as:

void *TEE_Realloc(const void *buffer, uint32_t newSize);

This does not make sense as the argument buffer can and will be changed
as a result of calling this function. Instead fix the declaration to be:

void *TEE_Realloc(void *buffer, uint32_t newSize);

This is also more in line with realloc().

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>