summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-09-22 10:28:23 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-09-22 10:28:23 -0500
commit01b7b6948108307f930902ca7c73f87c7d6eb1af (patch)
tree599a4c7654a2bf2b4612db97338c8a34a5064d05
parentstat.c: Fix missing prototype warnings (diff)
downloadrtems-01b7b6948108307f930902ca7c73f87c7d6eb1af.tar.bz2
__times.c: Fix missing prototype warnings
-rw-r--r--cpukit/libcsupport/src/__times.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/__times.c b/cpukit/libcsupport/src/__times.c
index 13e26058c2..d8076d89c0 100644
--- a/cpukit/libcsupport/src/__times.c
+++ b/cpukit/libcsupport/src/__times.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2010.
+ * COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,6 +18,11 @@
#include "config.h"
#endif
+/*
+ * Needed to get the prototype for this newlib helper method
+ */
+#define _COMPILING_NEWLIB
+
#include <rtems.h>
#include <sys/times.h>