libmctp: Introduce compiler.h
Define __unused here and include compiler.h in all the places we can
make use of it. Clean up some header ordering and include styles while
we're at it.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I33ddbdacbddbbf557dc02e42d8dde71a16e1cabe
diff --git a/tests/test_eid.c b/tests/test_eid.c
index 51f989c..031d044 100644
--- a/tests/test_eid.c
+++ b/tests/test_eid.c
@@ -5,11 +5,10 @@
#include <stdio.h>
#include <string.h>
-#include <libmctp.h>
-
+#include "compiler.h"
+#include "libmctp.h"
#include "test-utils.h"
-
struct test_ctx {
struct mctp *mctp;
struct mctp_binding_test *binding;