Skip to content
Commit bbbb4859 authored by Vincent Mailhol's avatar Vincent Mailhol Committed by Jérôme Forissier
Browse files

ta: os_test: undefine TA2TA_BUF_SIZE



TA2TA_BUF_SIZE is used to defined some test arrays. Using a macro
instead of a const int declaration is good as it forces the declared
arrays not to be variable length arrays.

However, TA2TA_BUF_SIZE is defined in the middle of the translation
unit. Because its use is local to ta_entry_ta2ta_memref(), undefine it
after the function to make the visibility of the macro scoped.

Signed-off-by: default avatarVincent Mailhol <mailhol.vincent@wanadoo.fr>
Acked-by: default avatarEtienne Carriere <etienne.carriere@foss.st.com>
Reviewed-by: Jens Wiklander's avatarJens Wiklander <jens.wiklander@linaro.org>
parent 2ea0aa70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment