am 670766c5: am 994935f6: Merge "Error numbers are target specific."

* commit '670766c5649086ad5ffe26c0deadeb460139202f':
  Error numbers are target specific.
This commit is contained in:
Elliott Hughes 2012-08-02 16:07:40 -07:00 committed by Android Git Automerger
commit c07196605c
2 changed files with 1 additions and 4 deletions

View File

@ -167,7 +167,4 @@ __BIONIC_ERRDEF( EKEYREJECTED , 129, "Key was rejected by service" )
__BIONIC_ERRDEF( EOWNERDEAD , 130, "Owner died" ) __BIONIC_ERRDEF( EOWNERDEAD , 130, "Owner died" )
__BIONIC_ERRDEF( ENOTRECOVERABLE, 131, "State not recoverable" ) __BIONIC_ERRDEF( ENOTRECOVERABLE, 131, "State not recoverable" )
/* the following is not defined by Linux but needed for the BSD portions of the C library */
__BIONIC_ERRDEF( EFTYPE, 1000, "Stupid C library hack !!" )
#undef __BIONIC_ERRDEF #undef __BIONIC_ERRDEF

View File

@ -35,7 +35,7 @@ __code_string_lookup( const CodeString* strings,
static const CodeString _sys_error_strings[] = static const CodeString _sys_error_strings[] =
{ {
#define __BIONIC_ERRDEF(x,y,z) { y, z }, #define __BIONIC_ERRDEF(x,y,z) { x, z },
#include <sys/_errdefs.h> #include <sys/_errdefs.h>
{ 0, NULL } { 0, NULL }
}; };