[PATCH 2/8] sched: Fix bad function definition
From: John B. Wyatt IV
Date: Wed Oct 28 2020 - 18:11:25 EST
main() should have a void.
Issue reported by checkpatch.
Signed-off-by: John B. Wyatt IV <jbwyatt4@xxxxxxxxx>
---
tools/testing/selftests/sched/test_coresched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/sched/test_coresched.c b/tools/testing/selftests/sched/test_coresched.c
index 2fdefb843115..91cfb00f15b5 100644
--- a/tools/testing/selftests/sched/test_coresched.c
+++ b/tools/testing/selftests/sched/test_coresched.c
@@ -826,7 +826,7 @@ static void test_prctl_in_group(char *root)
print_pass();
}
-int main() {
+int main(void) {
char *root = make_group(NULL, NULL);
test_cgroup_parent_tag_child_inherit(root);
--
2.28.0