Skip to content
Commit f450817e authored by Javier Almansa Sobrino's avatar Javier Almansa Sobrino
Browse files

fix(unittest): remove dependency with enum buffer_slot in inst_helpers.h



inst_helpers.h has a dependency with enum buffer_slot as this is needed
by host_harness and the former includes the latter.

This patch breaks that dependency by removing a forward declaration
to `enum slot_buffer` inside host_harness.h, as C++ requires a
different syntax for forward declarations than the one used in C.

Instead, it replaces the enum with an unsigned int for functions
in host_harness.h.

Signed-off-by: Javier Almansa Sobrino's avatarJavier Almansa Sobrino <javier.almansasobrino@arm.com>
Change-Id: Ia26f771f5056047e9a61b2e02fb2294928c325d6
parent 7582b2be
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