summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-10-03 21:26:11 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-10-03 21:26:11 +0000
commit106b47fccffad8b701393adfe0bff6aa8abb9852 (patch)
treec71c7400cc2bdc0c763bc7a021280f5e317cfcc8 /sysdeps
parenta68b0d31a37a86785b3dbeeee3fad96ee71fadcd (diff)
downloadglibc-106b47fccffad8b701393adfe0bff6aa8abb9852.tar.gz
glibc-106b47fccffad8b701393adfe0bff6aa8abb9852.tar.xz
glibc-106b47fccffad8b701393adfe0bff6aa8abb9852.zip
Regenerated from sysdeps/mach/hurd/errnos.awk manual/errno.texi /home/hi2/build/i486-gnu/libc/config.h libintl.h intl/libintl.h features.h sys/cdefs.h misc/sys/cdefs.h /usr/lib/gcc-lib/i486-gnu-miles/2.7.2/include/stddef.h locale.h locale/locale.h /gd4/gnu/miles/i486-gnu/install/include/mach/message.h /gd4/gnu/miles/i486-gnu/install/include/mach/kern_return.h /gd4/gnu/miles/i486-gnu/install/include/mach/machine/kern_return.h /gd4/gnu/miles/i486-gnu/install/include/mach/port.h /gd4/gnu/miles/i486-gnu/install/include/mach/boolean.h /gd4/gnu/miles/i486-gnu/install/include/mach/machine/boolean.h /gd4/gnu/miles/i486-gnu/install/include/mach/machine/vm_types.h /gd4/gnu/miles/i486-gnu/install/include/mach/mig_errors.h /gd4/gnu/miles/i486-gnu/install/include/device/device_types.h /gd4/gnu/miles/i486-gnu/install/include/mach/std_types.h cvs/libc-961005 cvs/libc-961004
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/errnos.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/errnos.h b/sysdeps/mach/hurd/errnos.h
index b14c98ab88..cbc7a94336 100644
--- a/sysdeps/mach/hurd/errnos.h
+++ b/sysdeps/mach/hurd/errnos.h
@@ -284,6 +284,7 @@ typedef enum __error_t_codes error_t;
 /* errno is a per-thread variable.  */
 #include <hurd/threadvar.h>
 #define errno	(*__hurd_errno_location ())
+#define __set_errno(val) errno = (val)
 
 #endif /* <errno.h> included.  */