Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-11-24 17:12:32 +0300
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-11-24 17:12:32 +0300
commit63d53b925543640ee9b2544be44318bdec3e05d8 (patch)
treea30767150c2e8c348266faa398928a7807b30b88
parent72f4ea45e6dd8ceaba5dfee67884e4760ed56370 (diff)
2014-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/include/sys/resource.h: Add prototype for getrusage() to <sys/resource.h>
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/sys/resource.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 6b6e88531..f9249de75 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * libc/include/sys/resource.h: Add prototype for getrusage()
+ to <sys/resource.h>
+
2014-11-21 Nick Clifton <nickc@redhat.com>
PR target/63901
diff --git a/newlib/libc/include/sys/resource.h b/newlib/libc/include/sys/resource.h
index eb827552c..c35ac2a46 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