summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2007-01-22 15:06:31 +0000
committerchristos <christos@NetBSD.org>2007-01-22 15:06:31 +0000
commitbbc680871a99e2e1806a13d40d97584550e6199f (patch)
tree7abf73fdefce33f553974f30f74c04836e1c6756 /lib/libpthread
parent3cfa1eec0adf428720b6fd01b4399eaa6386f28c (diff)
Add another volatile, mentioned in current-users from a cross-build on amd64.
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/pthread_sig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/pthread_sig.c b/lib/libpthread/pthread_sig.c
index 825134fdee3..6805e826c68 100644
--- a/lib/libpthread/pthread_sig.c
+++ b/lib/libpthread/pthread_sig.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_sig.c,v 1.48 2006/12/23 05:14:47 ad Exp $ */
+/* $NetBSD: pthread_sig.c,v 1.49 2007/01/22 15:06:31 christos Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_sig.c,v 1.48 2006/12/23 05:14:47 ad Exp $");
+__RCSID("$NetBSD: pthread_sig.c,v 1.49 2007/01/22 15:06:31 christos Exp $");
/* We're interposing a specific version of the signal interface. */
#define __LIBC12_SOURCE__
@@ -940,7 +940,7 @@ pthread__kill(pthread_t self, pthread_t target, siginfo_t *si)
void
pthread__deliver_signal(pthread_t self, pthread_t target, siginfo_t *si)
{
- ucontext_t *uc, *olduc;
+ ucontext_t *uc, * volatile olduc;
struct sigaction act;
siginfo_t *siginfop;
caddr_t sp;