Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libpthread swapfunc() is not passed to pthread_cre...
details: https://anonhg.NetBSD.org/src/rev/9bb65578f39f
branches: trunk
changeset: 359874:9bb65578f39f
user: uwe <uwe%NetBSD.org@localhost>
date: Tue Feb 27 20:31:35 2018 +0000
description:
swapfunc() is not passed to pthread_create, there's no need for it to
have any arguments.
diffstat:
tests/lib/libpthread/t_swapcontext.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 4d6db5550b0e -r 9bb65578f39f tests/lib/libpthread/t_swapcontext.c
--- a/tests/lib/libpthread/t_swapcontext.c Tue Feb 27 20:24:50 2018 +0000
+++ b/tests/lib/libpthread/t_swapcontext.c Tue Feb 27 20:31:35 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_swapcontext.c,v 1.5 2018/02/27 20:24:50 uwe Exp $ */
+/* $NetBSD: t_swapcontext.c,v 1.6 2018/02/27 20:31:35 uwe Exp $ */
/*
* Copyright (c) 2012 Emmanuel Dreyfus. All rights reserved.
@@ -49,9 +49,8 @@
void *nself;
int val1, val2;
-/* ARGSUSED0 */
static void
-swapfunc(void *arg)
+swapfunc(void)
{
/*
* If the test fails, we are very likely to crash
Home |
Main Index |
Thread Index |
Old Index