This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] libc/include/sys/resource.h: Add prototype for getrusage() to <sys/resource.h>
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: newlib at sourceware dot org
- Cc: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- Date: Sun, 23 Nov 2014 09:38:01 -0600
- Subject: [PATCH] libc/include/sys/resource.h: Add prototype for getrusage() to <sys/resource.h>
- Authentication-results: sourceware.org; auth=none
2014-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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
--
1.9.3