summaryrefslogtreecommitdiffstats
path: root/Tests/TargetName/executables
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/TargetName/executables')
-rw-r--r--Tests/TargetName/executables/hello_world.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/TargetName/executables/hello_world.c b/Tests/TargetName/executables/hello_world.c
index 5b6eaf8..71d71f5 100644
--- a/Tests/TargetName/executables/hello_world.c
+++ b/Tests/TargetName/executables/hello_world.c
@@ -1,5 +1,6 @@
#include <stdio.h>
-main()
+int main(void)
{
printf("hello, world\n");
+ return 0;
}