| Message ID | 20250809062547.1329444-1-jan.vermaete@gmail.com |
|---|---|
| State | Accepted |
| Headers | show |
| Series | [v2] sdk: The main in the C example should return an int | expand |
On Sat, 09 Aug 2025 08:25:47 +0200, Jan Vermaete wrote: > see C17 (ISO/IEC 9899:2018) > > Applied, thanks! [1/1] sdk: The main in the C example should return an int commit: 1ebaed299f7ef80a49b68608f45bf25884900d13 Best regards,
diff --git a/documentation/sdk-manual/working-projects.rst b/documentation/sdk-manual/working-projects.rst index 4236bcec2..7df73b1b1 100644 --- a/documentation/sdk-manual/working-projects.rst +++ b/documentation/sdk-manual/working-projects.rst @@ -56,9 +56,10 @@ project: #include <stdio.h> - main() + int main() { printf("Hello World!\n"); + return 0; } - ``configure.ac``::
see C17 (ISO/IEC 9899:2018) Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> --- documentation/sdk-manual/working-projects.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)