From 0e5a2001242f0d7a8608b2038c5e11b9158c77af Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Thu, 20 Jan 2022 04:44:36 -0500 Subject: [PATCH] Make C code more recognizably C (#331) --- src/ffi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ffi.md b/src/ffi.md index b52a7e9..9e02eee 100644 --- a/src/ffi.md +++ b/src/ffi.md @@ -281,7 +281,7 @@ We'll create a C file to call the `hello_from_rust` function and compile it by ` C file should look like: ```c -int main() { +int main(void) { hello_from_rust(); return 0; }