svn commit: trunk/uClibc/libc/sysdeps/linux/m68k/bits
vapier at uclibc.org
vapier at uclibc.org
Fri Nov 4 23:55:45 UTC 2005
Author: vapier
Date: 2005-11-04 15:55:44 -0800 (Fri, 04 Nov 2005)
New Revision: 12158
Log:
use errno.h like in i386
Modified:
trunk/uClibc/libc/sysdeps/linux/m68k/bits/syscalls.h
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/m68k/bits/syscalls.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/m68k/bits/syscalls.h 2005-11-04 23:55:18 UTC (rev 12157)
+++ trunk/uClibc/libc/sysdeps/linux/m68k/bits/syscalls.h 2005-11-04 23:55:44 UTC (rev 12158)
@@ -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:
More information about the uClibc-cvs
mailing list