linux-user/syscall: Remove hardcoded tabs (code style)
We are going to move this code, fix its style first. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210704183755.655002-12-f4bug@amsat.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
04b853935f
commit
c632ea1dd9
@ -519,112 +519,112 @@ static uint16_t target_to_host_errno_table[ERRNO_TABLE_SIZE] = {
|
|||||||
* minus the errnos that are not actually generic to all archs.
|
* minus the errnos that are not actually generic to all archs.
|
||||||
*/
|
*/
|
||||||
static uint16_t host_to_target_errno_table[ERRNO_TABLE_SIZE] = {
|
static uint16_t host_to_target_errno_table[ERRNO_TABLE_SIZE] = {
|
||||||
[EAGAIN] = TARGET_EAGAIN,
|
[EAGAIN] = TARGET_EAGAIN,
|
||||||
[EIDRM] = TARGET_EIDRM,
|
[EIDRM] = TARGET_EIDRM,
|
||||||
[ECHRNG] = TARGET_ECHRNG,
|
[ECHRNG] = TARGET_ECHRNG,
|
||||||
[EL2NSYNC] = TARGET_EL2NSYNC,
|
[EL2NSYNC] = TARGET_EL2NSYNC,
|
||||||
[EL3HLT] = TARGET_EL3HLT,
|
[EL3HLT] = TARGET_EL3HLT,
|
||||||
[EL3RST] = TARGET_EL3RST,
|
[EL3RST] = TARGET_EL3RST,
|
||||||
[ELNRNG] = TARGET_ELNRNG,
|
[ELNRNG] = TARGET_ELNRNG,
|
||||||
[EUNATCH] = TARGET_EUNATCH,
|
[EUNATCH] = TARGET_EUNATCH,
|
||||||
[ENOCSI] = TARGET_ENOCSI,
|
[ENOCSI] = TARGET_ENOCSI,
|
||||||
[EL2HLT] = TARGET_EL2HLT,
|
[EL2HLT] = TARGET_EL2HLT,
|
||||||
[EDEADLK] = TARGET_EDEADLK,
|
[EDEADLK] = TARGET_EDEADLK,
|
||||||
[ENOLCK] = TARGET_ENOLCK,
|
[ENOLCK] = TARGET_ENOLCK,
|
||||||
[EBADE] = TARGET_EBADE,
|
[EBADE] = TARGET_EBADE,
|
||||||
[EBADR] = TARGET_EBADR,
|
[EBADR] = TARGET_EBADR,
|
||||||
[EXFULL] = TARGET_EXFULL,
|
[EXFULL] = TARGET_EXFULL,
|
||||||
[ENOANO] = TARGET_ENOANO,
|
[ENOANO] = TARGET_ENOANO,
|
||||||
[EBADRQC] = TARGET_EBADRQC,
|
[EBADRQC] = TARGET_EBADRQC,
|
||||||
[EBADSLT] = TARGET_EBADSLT,
|
[EBADSLT] = TARGET_EBADSLT,
|
||||||
[EBFONT] = TARGET_EBFONT,
|
[EBFONT] = TARGET_EBFONT,
|
||||||
[ENOSTR] = TARGET_ENOSTR,
|
[ENOSTR] = TARGET_ENOSTR,
|
||||||
[ENODATA] = TARGET_ENODATA,
|
[ENODATA] = TARGET_ENODATA,
|
||||||
[ETIME] = TARGET_ETIME,
|
[ETIME] = TARGET_ETIME,
|
||||||
[ENOSR] = TARGET_ENOSR,
|
[ENOSR] = TARGET_ENOSR,
|
||||||
[ENONET] = TARGET_ENONET,
|
[ENONET] = TARGET_ENONET,
|
||||||
[ENOPKG] = TARGET_ENOPKG,
|
[ENOPKG] = TARGET_ENOPKG,
|
||||||
[EREMOTE] = TARGET_EREMOTE,
|
[EREMOTE] = TARGET_EREMOTE,
|
||||||
[ENOLINK] = TARGET_ENOLINK,
|
[ENOLINK] = TARGET_ENOLINK,
|
||||||
[EADV] = TARGET_EADV,
|
[EADV] = TARGET_EADV,
|
||||||
[ESRMNT] = TARGET_ESRMNT,
|
[ESRMNT] = TARGET_ESRMNT,
|
||||||
[ECOMM] = TARGET_ECOMM,
|
[ECOMM] = TARGET_ECOMM,
|
||||||
[EPROTO] = TARGET_EPROTO,
|
[EPROTO] = TARGET_EPROTO,
|
||||||
[EDOTDOT] = TARGET_EDOTDOT,
|
[EDOTDOT] = TARGET_EDOTDOT,
|
||||||
[EMULTIHOP] = TARGET_EMULTIHOP,
|
[EMULTIHOP] = TARGET_EMULTIHOP,
|
||||||
[EBADMSG] = TARGET_EBADMSG,
|
[EBADMSG] = TARGET_EBADMSG,
|
||||||
[ENAMETOOLONG] = TARGET_ENAMETOOLONG,
|
[ENAMETOOLONG] = TARGET_ENAMETOOLONG,
|
||||||
[EOVERFLOW] = TARGET_EOVERFLOW,
|
[EOVERFLOW] = TARGET_EOVERFLOW,
|
||||||
[ENOTUNIQ] = TARGET_ENOTUNIQ,
|
[ENOTUNIQ] = TARGET_ENOTUNIQ,
|
||||||
[EBADFD] = TARGET_EBADFD,
|
[EBADFD] = TARGET_EBADFD,
|
||||||
[EREMCHG] = TARGET_EREMCHG,
|
[EREMCHG] = TARGET_EREMCHG,
|
||||||
[ELIBACC] = TARGET_ELIBACC,
|
[ELIBACC] = TARGET_ELIBACC,
|
||||||
[ELIBBAD] = TARGET_ELIBBAD,
|
[ELIBBAD] = TARGET_ELIBBAD,
|
||||||
[ELIBSCN] = TARGET_ELIBSCN,
|
[ELIBSCN] = TARGET_ELIBSCN,
|
||||||
[ELIBMAX] = TARGET_ELIBMAX,
|
[ELIBMAX] = TARGET_ELIBMAX,
|
||||||
[ELIBEXEC] = TARGET_ELIBEXEC,
|
[ELIBEXEC] = TARGET_ELIBEXEC,
|
||||||
[EILSEQ] = TARGET_EILSEQ,
|
[EILSEQ] = TARGET_EILSEQ,
|
||||||
[ENOSYS] = TARGET_ENOSYS,
|
[ENOSYS] = TARGET_ENOSYS,
|
||||||
[ELOOP] = TARGET_ELOOP,
|
[ELOOP] = TARGET_ELOOP,
|
||||||
[ERESTART] = TARGET_ERESTART,
|
[ERESTART] = TARGET_ERESTART,
|
||||||
[ESTRPIPE] = TARGET_ESTRPIPE,
|
[ESTRPIPE] = TARGET_ESTRPIPE,
|
||||||
[ENOTEMPTY] = TARGET_ENOTEMPTY,
|
[ENOTEMPTY] = TARGET_ENOTEMPTY,
|
||||||
[EUSERS] = TARGET_EUSERS,
|
[EUSERS] = TARGET_EUSERS,
|
||||||
[ENOTSOCK] = TARGET_ENOTSOCK,
|
[ENOTSOCK] = TARGET_ENOTSOCK,
|
||||||
[EDESTADDRREQ] = TARGET_EDESTADDRREQ,
|
[EDESTADDRREQ] = TARGET_EDESTADDRREQ,
|
||||||
[EMSGSIZE] = TARGET_EMSGSIZE,
|
[EMSGSIZE] = TARGET_EMSGSIZE,
|
||||||
[EPROTOTYPE] = TARGET_EPROTOTYPE,
|
[EPROTOTYPE] = TARGET_EPROTOTYPE,
|
||||||
[ENOPROTOOPT] = TARGET_ENOPROTOOPT,
|
[ENOPROTOOPT] = TARGET_ENOPROTOOPT,
|
||||||
[EPROTONOSUPPORT] = TARGET_EPROTONOSUPPORT,
|
[EPROTONOSUPPORT] = TARGET_EPROTONOSUPPORT,
|
||||||
[ESOCKTNOSUPPORT] = TARGET_ESOCKTNOSUPPORT,
|
[ESOCKTNOSUPPORT] = TARGET_ESOCKTNOSUPPORT,
|
||||||
[EOPNOTSUPP] = TARGET_EOPNOTSUPP,
|
[EOPNOTSUPP] = TARGET_EOPNOTSUPP,
|
||||||
[EPFNOSUPPORT] = TARGET_EPFNOSUPPORT,
|
[EPFNOSUPPORT] = TARGET_EPFNOSUPPORT,
|
||||||
[EAFNOSUPPORT] = TARGET_EAFNOSUPPORT,
|
[EAFNOSUPPORT] = TARGET_EAFNOSUPPORT,
|
||||||
[EADDRINUSE] = TARGET_EADDRINUSE,
|
[EADDRINUSE] = TARGET_EADDRINUSE,
|
||||||
[EADDRNOTAVAIL] = TARGET_EADDRNOTAVAIL,
|
[EADDRNOTAVAIL] = TARGET_EADDRNOTAVAIL,
|
||||||
[ENETDOWN] = TARGET_ENETDOWN,
|
[ENETDOWN] = TARGET_ENETDOWN,
|
||||||
[ENETUNREACH] = TARGET_ENETUNREACH,
|
[ENETUNREACH] = TARGET_ENETUNREACH,
|
||||||
[ENETRESET] = TARGET_ENETRESET,
|
[ENETRESET] = TARGET_ENETRESET,
|
||||||
[ECONNABORTED] = TARGET_ECONNABORTED,
|
[ECONNABORTED] = TARGET_ECONNABORTED,
|
||||||
[ECONNRESET] = TARGET_ECONNRESET,
|
[ECONNRESET] = TARGET_ECONNRESET,
|
||||||
[ENOBUFS] = TARGET_ENOBUFS,
|
[ENOBUFS] = TARGET_ENOBUFS,
|
||||||
[EISCONN] = TARGET_EISCONN,
|
[EISCONN] = TARGET_EISCONN,
|
||||||
[ENOTCONN] = TARGET_ENOTCONN,
|
[ENOTCONN] = TARGET_ENOTCONN,
|
||||||
[EUCLEAN] = TARGET_EUCLEAN,
|
[EUCLEAN] = TARGET_EUCLEAN,
|
||||||
[ENOTNAM] = TARGET_ENOTNAM,
|
[ENOTNAM] = TARGET_ENOTNAM,
|
||||||
[ENAVAIL] = TARGET_ENAVAIL,
|
[ENAVAIL] = TARGET_ENAVAIL,
|
||||||
[EISNAM] = TARGET_EISNAM,
|
[EISNAM] = TARGET_EISNAM,
|
||||||
[EREMOTEIO] = TARGET_EREMOTEIO,
|
[EREMOTEIO] = TARGET_EREMOTEIO,
|
||||||
[EDQUOT] = TARGET_EDQUOT,
|
[EDQUOT] = TARGET_EDQUOT,
|
||||||
[ESHUTDOWN] = TARGET_ESHUTDOWN,
|
[ESHUTDOWN] = TARGET_ESHUTDOWN,
|
||||||
[ETOOMANYREFS] = TARGET_ETOOMANYREFS,
|
[ETOOMANYREFS] = TARGET_ETOOMANYREFS,
|
||||||
[ETIMEDOUT] = TARGET_ETIMEDOUT,
|
[ETIMEDOUT] = TARGET_ETIMEDOUT,
|
||||||
[ECONNREFUSED] = TARGET_ECONNREFUSED,
|
[ECONNREFUSED] = TARGET_ECONNREFUSED,
|
||||||
[EHOSTDOWN] = TARGET_EHOSTDOWN,
|
[EHOSTDOWN] = TARGET_EHOSTDOWN,
|
||||||
[EHOSTUNREACH] = TARGET_EHOSTUNREACH,
|
[EHOSTUNREACH] = TARGET_EHOSTUNREACH,
|
||||||
[EALREADY] = TARGET_EALREADY,
|
[EALREADY] = TARGET_EALREADY,
|
||||||
[EINPROGRESS] = TARGET_EINPROGRESS,
|
[EINPROGRESS] = TARGET_EINPROGRESS,
|
||||||
[ESTALE] = TARGET_ESTALE,
|
[ESTALE] = TARGET_ESTALE,
|
||||||
[ECANCELED] = TARGET_ECANCELED,
|
[ECANCELED] = TARGET_ECANCELED,
|
||||||
[ENOMEDIUM] = TARGET_ENOMEDIUM,
|
[ENOMEDIUM] = TARGET_ENOMEDIUM,
|
||||||
[EMEDIUMTYPE] = TARGET_EMEDIUMTYPE,
|
[EMEDIUMTYPE] = TARGET_EMEDIUMTYPE,
|
||||||
#ifdef ENOKEY
|
#ifdef ENOKEY
|
||||||
[ENOKEY] = TARGET_ENOKEY,
|
[ENOKEY] = TARGET_ENOKEY,
|
||||||
#endif
|
#endif
|
||||||
#ifdef EKEYEXPIRED
|
#ifdef EKEYEXPIRED
|
||||||
[EKEYEXPIRED] = TARGET_EKEYEXPIRED,
|
[EKEYEXPIRED] = TARGET_EKEYEXPIRED,
|
||||||
#endif
|
#endif
|
||||||
#ifdef EKEYREVOKED
|
#ifdef EKEYREVOKED
|
||||||
[EKEYREVOKED] = TARGET_EKEYREVOKED,
|
[EKEYREVOKED] = TARGET_EKEYREVOKED,
|
||||||
#endif
|
#endif
|
||||||
#ifdef EKEYREJECTED
|
#ifdef EKEYREJECTED
|
||||||
[EKEYREJECTED] = TARGET_EKEYREJECTED,
|
[EKEYREJECTED] = TARGET_EKEYREJECTED,
|
||||||
#endif
|
#endif
|
||||||
#ifdef EOWNERDEAD
|
#ifdef EOWNERDEAD
|
||||||
[EOWNERDEAD] = TARGET_EOWNERDEAD,
|
[EOWNERDEAD] = TARGET_EOWNERDEAD,
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENOTRECOVERABLE
|
#ifdef ENOTRECOVERABLE
|
||||||
[ENOTRECOVERABLE] = TARGET_ENOTRECOVERABLE,
|
[ENOTRECOVERABLE] = TARGET_ENOTRECOVERABLE,
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENOMSG
|
#ifdef ENOMSG
|
||||||
[ENOMSG] = TARGET_ENOMSG,
|
[ENOMSG] = TARGET_ENOMSG,
|
||||||
|
Loading…
Reference in New Issue
Block a user