[PATCH] libc/include/sys/resource.h: Add prototype for getrusage() to <sys/resource.h>
Corinna Vinschen
vinschen@redhat.com
Mon Nov 24 12:00:00 GMT 2014
On Nov 23 09:38, Joel Sherrill wrote:
> 2014-11-23 Joel Sherrill <...>
>
> * libc/include/sys/resource.h: Add prototype for getrusage()
> to <sys/resource.h>
> ---
> newlib/libc/include/sys/resource.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/newlib/libc/include/sys/resource.h b/newlib/libc/include/sys/resource.h
> index eb82755..c35ac2a 100644
> --- a/newlib/libc/include/sys/resource.h
> +++ b/newlib/libc/include/sys/resource.h
> @@ -11,5 +11,7 @@ struct rusage {
> struct timeval ru_stime; /* system time used */
> };
>
> +int _EXFUN(getrusage, (int, struct rusage*));
> +
> #endif
>
Sure, go ahead.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20141124/b800ed7b/attachment.sig>
More information about the Newlib
mailing list