소스 검색

use errno.h like in i386

Mike Frysinger 20 년 전
부모
커밋
378883d1e0
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      libc/sysdeps/linux/m68k/bits/syscalls.h

+ 2 - 4
libc/sysdeps/linux/m68k/bits/syscalls.h

@@ -4,15 +4,13 @@
 # error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
 #endif
 
+#include <errno.h>
+
 /* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
  * header files.  It also defines the traditional `SYS_<name>' macros for older
  * programs.  */
 #include <bits/sysnum.h>
 
-#ifndef __set_errno
-# define __set_errno(val) (*__errno_location ()) = (val)
-#endif
-
 #ifndef __ASSEMBLER__
 
 /* Linux takes system call arguments in registers: