svn commit: trunk/uClibc/libc/sysdeps/linux/i386/bits
psm at uclibc.org
psm at uclibc.org
Wed Nov 2 17:28:41 UTC 2005
Author: psm
Date: 2005-11-02 09:28:40 -0800 (Wed, 02 Nov 2005)
New Revision: 12114
Log:
Remove __set_errno proposed by jocke
Modified:
trunk/uClibc/libc/sysdeps/linux/i386/bits/syscalls.h
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/i386/bits/syscalls.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/i386/bits/syscalls.h 2005-11-02 17:20:23 UTC (rev 12113)
+++ trunk/uClibc/libc/sysdeps/linux/i386/bits/syscalls.h 2005-11-02 17:28:40 UTC (rev 12114)
@@ -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
-
/*
Some of the sneaky macros in the code were taken from
glibc-2.2.5/sysdeps/unix/sysv/linux/i386/sysdep.h
More information about the uClibc-cvs
mailing list