Changeset 79d145a7 in rtems for cpukit


Ignore:
Timestamp:
Oct 18, 2018, 12:36:44 PM (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
f59edebf
Parents:
e161767e
git-author:
Sebastian Huber <sebastian.huber@…> (10/18/18 12:36:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/22/18 06:06:06)
Message:

Remove optional getrusage() declaration

Declaration provided by Newlib since 2014.

Update #3409.

Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/configure.ac

    re161767e r79d145a7  
    161161AC_LANG_POP(C)
    162162
    163 # Mandated by POSIX, not declared in some versions of newlib.
    164 AC_CHECK_DECLS([getrusage],,,[#include sys/resource.h])
    165 
    166163# Newlib's unix/ directory
    167164AC_CHECK_FUNCS([getcwd])
  • cpukit/libcsupport/src/getrusage.c

    re161767e r79d145a7  
    1717#include <rtems.h>
    1818#include <rtems/seterr.h>
    19 
    20 #if !HAVE_DECL_GETRUSAGE
    21 extern int getrusage(int who, struct rusage *usage);
    22 #endif
    2319
    2420int getrusage(int who, struct rusage *usage)
Note: See TracChangeset for help on using the changeset viewer.