This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Define struct rusage in sys/wait.h when required (bug 21575)


On Jun 13 2017, Joseph Myers <joseph@codesourcery.com> wrote:

> 	[BZ #21575]
> 	* resource/bits/types/struct_rusage.h: New file.
> 	* include/bits/types/struct_rusage.h: Likewise.
> 	* bits/resource.h (struct rusage): Include
> 	<bits/types/struct_rusage.h> instead of defining here.
> 	* sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
> 	Likewise.
> 	* sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
> 	Likewise.
> 	* sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
> 	Likewise.
> 	* sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
> 	Likewise.
> 	* resource/Makefile (headers): Add bits/types/struct_rusage.h.
> 	* posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
> 	Include <bits/types/struct_rusage.h>

Ok.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]