__times.c: Fix missing prototype warnings

This commit is contained in:
Joel Sherrill
2013-09-22 10:28:23 -05:00
parent 59abbecebb
commit 01b7b69481

View File

@@ -6,7 +6,7 @@
*/ */
/* /*
* COPYRIGHT (c) 1989-2010. * COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR). * On-Line Applications Research Corporation (OAR).
* *
* The license and distribution terms for this file may be * The license and distribution terms for this file may be
@@ -18,6 +18,11 @@
#include "config.h" #include "config.h"
#endif #endif
/*
* Needed to get the prototype for this newlib helper method
*/
#define _COMPILING_NEWLIB
#include <rtems.h> #include <rtems.h>
#include <sys/times.h> #include <sys/times.h>