obmc-console: Fix ringbuffer-test-utils analysis
ninja's clang-tidy target barfs due to the strategy of including C files
into each other for test purposes. Help it out by moving the ringbuffer
struct definitions into console-server.h so it can find them when
analysing test/ringbuffer-test-utils.c.
obmc-console isn't a library, so it's not like we're trying to avoid
expanding API/ABI surface.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: Ifd4501d3ca7f3bb02c557a1c31364aadd2b26abe
diff --git a/test/ringbuffer-test-utils.c b/test/ringbuffer-test-utils.c
index 3b3a4a9..e372845 100644
--- a/test/ringbuffer-test-utils.c
+++ b/test/ringbuffer-test-utils.c
@@ -1,3 +1,6 @@
+#include <stdbool.h>
+
+#include "console-server.h"
struct rb_test_ctx {
struct ringbuffer_consumer *rbc;