From: Yu Watanabe Date: Fri, 11 Jul 2025 06:20:10 +0000 (+0900) Subject: Cleanups for missing_xyz.h headers (#37904) X-Git-Tag: v258-rc1~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d7851380a089b622506c7ff8692ff38efff4a80;p=thirdparty%2Fsystemd.git Cleanups for missing_xyz.h headers (#37904) Continuation of #37960. The same concern as expalined in #37960 exists also in missing_syscall.h. If we use enough new glibc, a function we want to use may be already provided by glibc, but our baseline glibc may not. And it is hard to detect in our daily development. This moves all prototypes of syscalls to relevant headers, and missing syscall functions are defined in relevant .c files of libc wrapper. This way, we can use usual header as is, e.g. when we want to write code with `move_mount()`, we can simply use sys/mount.h without checking if it is supported by our baseline glibc. --- 4d7851380a089b622506c7ff8692ff38efff4a80