1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-12 19:04:54 +03:00

Linux: Remove attribute access from sched_getattr (bug 32781)

The GCC attribute expects an element count, not bytes.
This commit is contained in:
Florian Weimer
2025-03-12 10:23:47 +01:00
parent 74d463c50b
commit 74c68fa61b

View File

@@ -152,7 +152,7 @@ int sched_setattr (pid_t tid, struct sched_attr *attr, unsigned int flags)
store it in *ATTR. */ store it in *ATTR. */
int sched_getattr (pid_t tid, struct sched_attr *attr, unsigned int size, int sched_getattr (pid_t tid, struct sched_attr *attr, unsigned int size,
unsigned int flags) unsigned int flags)
__THROW __nonnull ((2)) __attr_access ((__write_only__, 2, 3)); __THROW __nonnull ((2));
#endif #endif