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:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user