Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libpthread Cleanup trailing whitespace.
details: https://anonhg.NetBSD.org/src/rev/87d76ecb307b
branches: trunk
changeset: 359872:87d76ecb307b
user: uwe <uwe%NetBSD.org@localhost>
date: Tue Feb 27 20:22:31 2018 +0000
description:
Cleanup trailing whitespace.
diffstat:
tests/lib/libpthread/t_swapcontext.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r 8b50a92bf520 -r 87d76ecb307b tests/lib/libpthread/t_swapcontext.c
--- a/tests/lib/libpthread/t_swapcontext.c Tue Feb 27 15:01:30 2018 +0000
+++ b/tests/lib/libpthread/t_swapcontext.c Tue Feb 27 20:22:31 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_swapcontext.c,v 1.3 2017/01/16 16:27:06 christos Exp $ */
+/* $NetBSD: t_swapcontext.c,v 1.4 2018/02/27 20:22:31 uwe Exp $ */
/*
* Copyright (c) 2012 Emmanuel Dreyfus. All rights reserved.
@@ -54,9 +54,9 @@
swapfunc(void *arg)
{
/*
- * If the test fails, we are very likely to crash
+ * If the test fails, we are very likely to crash
* without the opportunity to report
- */
+ */
nself = (void *)pthread_self();
printf("after swapcontext self = %p\n", nself);
@@ -75,9 +75,9 @@
{
nctx.uc_stack.ss_sp = stack;
nctx.uc_stack.ss_size = sizeof(stack);
-
+
makecontext(&nctx, (void *)*swapfunc, 0);
-
+
oself = (void *)pthread_self();
printf("before swapcontext self = %p\n", oself);
ATF_REQUIRE_MSG(swapcontext(&octx, &nctx) != -1, "swapcontext failed: %s",
Home |
Main Index |
Thread Index |
Old Index