Browse Source

fix from psm: remove unused defines/includes

Mike Frysinger 18 years ago
parent
commit
a93c867868

+ 0 - 4
libc/sysdeps/linux/arm/bsd-_setjmp.S

@@ -21,10 +21,6 @@
    We cannot do it in C because it must be a tail-call, so frame-unwinding
    in setjmp doesn't clobber the state restored by longjmp.  */
 
-#define _SETJMP_H
-#define _ASM
-#include <bits/setjmp.h>
-
 .global _setjmp
 .type _setjmp,%function
 .align 2

+ 0 - 4
libc/sysdeps/linux/arm/bsd-setjmp.S

@@ -21,10 +21,6 @@
    We cannot do it in C because it must be a tail-call, so frame-unwinding
    in setjmp doesn't clobber the state restored by longjmp.  */
 
-#define _SETJMP_H
-#define _ASM
-#include <bits/setjmp.h>
-
 .global setjmp
 .type setjmp,%function
 .align 2

+ 0 - 3
libc/sysdeps/linux/arm/setjmp.S

@@ -18,9 +18,6 @@
    02111-1307 USA.  */
 
 #include <features.h>
-#define _SETJMP_H
-#define _ASM
-#include <bits/setjmp.h>
 
 .global __sigsetjmp
 .type __sigsetjmp,%function

+ 0 - 5
libc/sysdeps/linux/frv/setjmp.S

@@ -1,8 +1,3 @@
-#include <features.h>
-#define _SETJMP_H
-#define _ASM
-#include <bits/setjmp.h>
-
 	.text
 
 /* This just does a tail-call to `__sigsetjmp (ARG, 0)'.

+ 0 - 5
libc/sysdeps/linux/hppa/setjmp.S

@@ -17,11 +17,6 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#define _ASM
-#define _SETJMP_H
-#include <bits/setjmp.h>
-
-
 	.text
 	.align 4
 	.import __sigjmp_save, code

+ 0 - 2
libc/sysdeps/linux/vax/clone.S

@@ -18,8 +18,6 @@
 /* clone() is even more special than fork() as it mucks with stacks
    and invokes a function in the right context after its all over.  */
 
-#include <features.h>
-#include <bits/errno.h>
 #include <sys/syscall.h>
 
 #warning "This file contains a hardcoded constant for SYS_clone"

+ 0 - 4
libc/sysdeps/linux/x86_64/bsd-_setjmp.S

@@ -21,10 +21,6 @@
    We cannot do it in C because it must be a tail-call, so frame-unwinding
    in setjmp doesn't clobber the state restored by longjmp.  */
 
-#define _ASM
-#define _SETJMP_H
-#include <bits/setjmp.h>
-
 .global _setjmp
 .type   _setjmp,%function
 .align  16