Merge branch 'syssyscall-cleanup' into 'master'

clean up sys_syscall header

See merge request redox-os/relibc!1374
This commit is contained in:
Jeremy Soller
2026-05-21 06:49:21 -06:00
2 changed files with 11 additions and 6 deletions
+7 -6
View File
@@ -1,8 +1,9 @@
# POSIX header spec: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_statvfs.h.html
#
# Spec quotations relating to includes:
# - "The <sys/statvfs.h> header shall define the fsblkcnt_t and fsfilcnt_t types as described in <sys/types.h>."
sys_includes = ["sys/types.h"]
include_guard = "_SYS_SYSCALL_H"
# Non-POSIX header spec: https://www.man7.org/linux/man-pages/man2/syscall.2.html
sys_includes = []
include_guard = "_RELIBC_SYS_SYSCALL_H"
after_includes = """
#include <bits/size-t.h>
"""
language = "C"
no_includes = true
usize_is_size_t = true
+4
View File
@@ -1,3 +1,7 @@
//! `sys/syscall.h` implementation.
//!
//! Non-POSIX, see <https://www.man7.org/linux/man-pages/man2/syscall.2.html>.
// copied from sc crate
#[cfg(all(target_os = "linux", target_arch = "aarch64"))]
pub mod aarch64;