stand: aarch64 has different nlinks than amd64
Some typedefs are system dependent, so move them into stat_arch.h where they are used. On amd64, nlinks is a int64_t, while on aarch64 it's an int (or int32_t). Sponsored by: Netflix
This commit is contained in:
parent
e15d8f2384
commit
929c6216b1
@ -6,6 +6,8 @@
|
||||
* Note: From the musl project
|
||||
*/
|
||||
|
||||
typedef int host_nlink_t;
|
||||
|
||||
struct host_kstat {
|
||||
host_dev_t st_dev;
|
||||
host_ino_t st_ino;
|
||||
|
@ -6,6 +6,8 @@
|
||||
* Note: From the musl project
|
||||
*/
|
||||
|
||||
typedef uint64_t host_nlink_t;
|
||||
|
||||
struct host_kstat {
|
||||
host_dev_t st_dev;
|
||||
host_ino_t st_ino;
|
||||
|
@ -6,6 +6,8 @@
|
||||
* Note: From the musl project
|
||||
*/
|
||||
|
||||
typedef uint64_t host_nlink_t;
|
||||
|
||||
struct host_kstat {
|
||||
host_dev_t st_dev;
|
||||
host_ino_t st_ino;
|
||||
|
@ -37,7 +37,6 @@ long host_syscall(int number, ...);
|
||||
*/
|
||||
typedef uint64_t host_dev_t;
|
||||
typedef uint64_t host_ino_t;
|
||||
typedef int64_t host_nlink_t;
|
||||
typedef unsigned int host_mode_t;
|
||||
typedef unsigned int host_uid_t;
|
||||
typedef unsigned int host_gid_t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user