Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/sys Simplify
details: https://anonhg.NetBSD.org/src/rev/75a8699720ab
branches: trunk
changeset: 781746:75a8699720ab
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Sep 27 09:56:21 2012 +0000
description:
Simplify
diffstat:
tests/lib/libc/sys/t_swapcontext.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r d594b45d12f0 -r 75a8699720ab tests/lib/libc/sys/t_swapcontext.c
--- a/tests/lib/libc/sys/t_swapcontext.c Thu Sep 27 09:53:53 2012 +0000
+++ b/tests/lib/libc/sys/t_swapcontext.c Thu Sep 27 09:56:21 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_swapcontext.c,v 1.1 2012/09/12 02:00:55 manu Exp $ */
+/* $NetBSD: t_swapcontext.c,v 1.2 2012/09/27 09:56:21 skrll Exp $ */
/*
* Copyright (c) 2012 Emmanuel Dreyfus. All rights reserved.
@@ -89,7 +89,7 @@
nctx.uc_flags &= ~_UC_TLSBASE;
#endif /* _UC_TLSBASE */
- makecontext(&nctx, (void *)*swapfunc, 0);
+ makecontext(&nctx, swapfunc, 0);
_lwp_setprivate(&val2);
otls = _lwp_getprivate();
Home |
Main Index |
Thread Index |
Old Index