summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlasdair2020-08-18 19:53:07 +0100
committerAlasdair2020-08-18 19:53:07 +0100
commitabe0eaa903817f49895dd862ffb328148ba0e6ad (patch)
treeb38d8419f59b6d3a5a6283f89d7516def2815ce0 /lib
parent40625c16f7573398252ccf040ef49d398d64d5bd (diff)
Move sail_state declaration into it's own file
Useful for RISC-V with it's custom C emulator
Diffstat (limited to 'lib')
-rw-r--r--lib/sail_state.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/sail_state.h b/lib/sail_state.h
new file mode 100644
index 00000000..e50d1619
--- /dev/null
+++ b/lib/sail_state.h
@@ -0,0 +1,7 @@
+#ifndef SAIL_STATE_H
+#define SAIL_STATE_H
+
+struct sail_state;
+typedef struct sail_state sail_state;
+
+#endif