Merge branch 'sys-wait' into 'master'

fix sys_wait trailer and include guard

See merge request redox-os/relibc!1225
This commit is contained in:
Jeremy Soller
2026-04-25 09:47:11 -06:00
+3 -2
View File
@@ -1,6 +1,7 @@
sys_includes = ["sys/types.h", "sys/resource.h"]
include_guard = "_SYS_WAIT_H"
trailer = """
include_guard = "_RELIBC_SYS_WAIT_H"
after_includes = """
#define WEXITSTATUS(s) (((s) >> 8) & 0xff)
#define WTERMSIG(s) ((s) & 0x7f)
#define WSTOPSIG(s) WEXITSTATUS(s)