summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/books.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/books.c')
-rw-r--r--misc/examples/books.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/examples/books.c b/misc/examples/books.c
index a62769b0..1fd57f27 100644
--- a/misc/examples/books.c
+++ b/misc/examples/books.c
@@ -1,4 +1,5 @@
// https://doc.rust-lang.org/std/collections/struct.HashMap.html
+#define i_implement
#include <stc/cstr.h>
#define i_key_str
#define i_val_str
@@ -6,7 +7,7 @@
// Type inference lets us omit an explicit type signature (which
// would be `HashMap<String, String>` in this example).
-int main()
+int main(void)
{
cmap_str book_reviews = {0};