diff --git a/src/ffi.md b/src/ffi.md index b52a7e99..9e02eee8 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; }