summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-30 08:15:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-30 08:15:26 +0000
commitc1a59da9250d030e3a6e5a8898b74df334dc43c2 (patch)
tree7eb17adcc80fbe78080658b8056f52331cdb255d /lib
parentddc76b57bb0c7f468cf3ad262f525f689f085edb (diff)
from netbsd:
Remove #include "SYS.h"; it is not needed (by normal assembly functions)
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/arch/i386/gen/fixunsdfsi.S9
-rw-r--r--lib/libc/arch/i386/gen/setjmp.S9
-rw-r--r--lib/libc/arch/i386/gen/sigsetjmp.S9
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 621d63cc711..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 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 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 3c2d1ebb403..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 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 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 9a9f258825b..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 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 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