From: Roland McGrath Date: Tue, 31 Jan 2006 01:26:00 +0000 (+0000) Subject: 2006-01-29 Daniel Jacobowitz X-Git-Tag: upstream/2.20~3636^2~933 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f5c49a5436af319d81a2effe8e351284a7e3a57;p=platform%2Fupstream%2Flinaro-glibc.git 2006-01-29 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/bits/errno.h (ECANCELED, EOWNERDEAD, ENOTRECOVERABLE): Define. --- diff --git a/sysdeps/unix/sysv/linux/mips/bits/errno.h b/sysdeps/unix/sysv/linux/mips/bits/errno.h index 8220c2e..5ff11c0 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/errno.h +++ b/sysdeps/unix/sysv/linux/mips/bits/errno.h @@ -1,5 +1,6 @@ /* Error constants. MIPS/Linux specific version. - Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2006 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -27,6 +28,16 @@ /* Linux has no ENOTSUP error code. */ # define ENOTSUP EOPNOTSUPP +# ifndef ECANCELED +# define ECANCELED 158 +# endif + +/* Support for error codes to support robust mutexes was added later, too. */ +# ifndef EOWNERDEAD +# define EOWNERDEAD 165 +# define ENOTRECOVERABLE 166 +# endif + # ifndef __ASSEMBLER__ /* Function to get address of global `errno' variable. */ extern int *__errno_location (void) __THROW __attribute__ ((__const__));