summaryrefslogtreecommitdiff
path: root/tests/lib/test_segv.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/test_segv.c')
-rw-r--r--tests/lib/test_segv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/lib/test_segv.c b/tests/lib/test_segv.c
index 494a162a45..92c9f7a2ea 100644
--- a/tests/lib/test_segv.c
+++ b/tests/lib/test_segv.c
@@ -62,10 +62,9 @@ void func3(void)
func2(6, buf);
}
-static int threadfunc(struct thread *thread)
+static void threadfunc(struct thread *thread)
{
func3();
- return 0;
}
int main(void)