diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/sigsetops.c | 3 | ||||
-rw-r--r-- | lib/libpthread/arch/amd64/uthread_machdep.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/gen/sigsetops.c b/lib/libc/gen/sigsetops.c index d9b35b5c62b..76d2a74ffad 100644 --- a/lib/libc/gen/sigsetops.c +++ b/lib/libc/gen/sigsetops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sigsetops.c,v 1.5 2005/08/08 08:05:34 espie Exp $ */ +/* $OpenBSD: sigsetops.c,v 1.6 2010/12/31 02:58:57 guenther Exp $ */ /*- * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -30,6 +30,7 @@ * @(#)sigsetops.c 8.1 (Berkeley) 6/4/93 */ +#define _ANSI_LIBRARY #include <errno.h> #include <signal.h> diff --git a/lib/libpthread/arch/amd64/uthread_machdep.c b/lib/libpthread/arch/amd64/uthread_machdep.c index c827a35a10c..aa38151311a 100644 --- a/lib/libpthread/arch/amd64/uthread_machdep.c +++ b/lib/libpthread/arch/amd64/uthread_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_machdep.c,v 1.3 2004/02/25 04:10:53 deraadt Exp $ */ +/* $OpenBSD: uthread_machdep.c,v 1.4 2010/12/31 03:02:45 guenther Exp $ */ /* * Copyright (c) 2004 Theo de Raadt @@ -53,7 +53,7 @@ struct frame { }; #define copyreg(reg, lval) \ - __asm__("mov %%" #reg ", %0" : "=g"(lval)) + __asm__("movl %%" #reg ", %0" : "=g"(lval)) /* * Given a stack and an entry function, initialise a state |