diff options
author | 1995-12-30 08:15:21 +0000 | |
---|---|---|
committer | 1995-12-30 08:15:21 +0000 | |
commit | 3d4fda0ca045abc5366ac1df1e2bf6e8164e5e3e (patch) | |
tree | 3405a96c0835dfba338b882cdc9344503aac324b /lib/libc | |
parent | from netbsd: (diff) | |
download | wireguard-openbsd-3d4fda0ca045abc5366ac1df1e2bf6e8164e5e3e.tar.xz wireguard-openbsd-3d4fda0ca045abc5366ac1df1e2bf6e8164e5e3e.zip |
from netbsd:
Remove #include "SYS.h"; it is not needed (by normal assembly functions)
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arch/i386/gen/fixunsdfsi.S | 9 | ||||
-rw-r--r-- | lib/libc/arch/i386/gen/setjmp.S | 9 | ||||
-rw-r--r-- | lib/libc/arch/i386/gen/sigsetjmp.S | 9 |
3 files changed, 12 insertions, 15 deletions
diff --git a/lib/libc/arch/i386/gen/fixunsdfsi.S b/lib/libc/arch/i386/gen/fixunsdfsi.S index 8952742654e..46b84724d3c 100644 --- a/lib/libc/arch/i386/gen/fixunsdfsi.S +++ b/lib/libc/arch/i386/gen/fixunsdfsi.S @@ -34,17 +34,16 @@ * SUCH DAMAGE. * * from: @(#)fixunsdfsi.s 5.1 12/17/90 - * $Id: fixunsdfsi.S,v 1.1.1.1 1995/10/18 08:41:23 deraadt Exp $ + * $Id: fixunsdfsi.S,v 1.2 1995/12/30 08:15:21 deraadt Exp $ */ +#include <machine/asm.h> + #if defined(LIBC_SCCS) .text - .asciz "$Id: fixunsdfsi.S,v 1.1.1.1 1995/10/18 08:41:23 deraadt Exp $" + .asciz "$Id: fixunsdfsi.S,v 1.2 1995/12/30 08:15:21 deraadt Exp $" #endif -#include "DEFS.h" -#include "SYS.h" - ENTRY(__fixunsdfsi) fldl 4(%esp) /* argument double to accum stack */ frndint /* create integer */ diff --git a/lib/libc/arch/i386/gen/setjmp.S b/lib/libc/arch/i386/gen/setjmp.S index 5e5c5396995..5829a590ebf 100644 --- a/lib/libc/arch/i386/gen/setjmp.S +++ b/lib/libc/arch/i386/gen/setjmp.S @@ -34,12 +34,14 @@ * SUCH DAMAGE. * * from: @(#)setjmp.s 5.1 (Berkeley) 4/23/90 - * $Id: setjmp.S,v 1.1.1.1 1995/10/18 08:41:24 deraadt Exp $ + * $Id: setjmp.S,v 1.2 1995/12/30 08:15:23 deraadt Exp $ */ +#include <machine/asm.h> + #if defined(LIBC_SCCS) .text - .asciz "$Id: setjmp.S,v 1.1.1.1 1995/10/18 08:41:24 deraadt Exp $" + .asciz "$Id: setjmp.S,v 1.2 1995/12/30 08:15:23 deraadt Exp $" #endif /* @@ -52,9 +54,6 @@ * The previous signal state is restored. */ -#include "DEFS.h" -#include "SYS.h" - ENTRY(setjmp) pushl $0 #ifdef PIC diff --git a/lib/libc/arch/i386/gen/sigsetjmp.S b/lib/libc/arch/i386/gen/sigsetjmp.S index 5426be40e7b..dcdd4e56273 100644 --- a/lib/libc/arch/i386/gen/sigsetjmp.S +++ b/lib/libc/arch/i386/gen/sigsetjmp.S @@ -34,17 +34,16 @@ * SUCH DAMAGE. * * from: @(#)setjmp.s 5.1 (Berkeley) 4/23/90" - * $Id: sigsetjmp.S,v 1.1.1.1 1995/10/18 08:41:24 deraadt Exp $ + * $Id: sigsetjmp.S,v 1.2 1995/12/30 08:15:25 deraadt Exp $ */ +#include <machine/asm.h> + #if defined(LIBC_SCCS) .text - .asciz "$Id: sigsetjmp.S,v 1.1.1.1 1995/10/18 08:41:24 deraadt Exp $" + .asciz "$Id: sigsetjmp.S,v 1.2 1995/12/30 08:15:25 deraadt Exp $" #endif -#include "DEFS.h" -#include "SYS.h" - ENTRY(sigsetjmp) movl 4(%esp),%ecx movl 8(%esp),%eax |