mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
sdk: The main in the C example should return an int
see C17 (ISO/IEC 9899:2018) (From yocto-docs rev: 1118f1bde785e153c4ddd2bf4e4d70f956fde948) Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit 1ebaed299f7ef80a49b68608f45bf25884900d13) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
parent
686d908085
commit
5fc83da6b2
|
|
@ -56,9 +56,10 @@ project:
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
main()
|
||||
int main()
|
||||
{
|
||||
printf("Hello World!\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
- ``configure.ac``::
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user