diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-05-19 06:31:42 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-05-19 06:31:42 +0000 |
commit | 20e3bf7a1bffbf03446157df9e84b027861534e8 (patch) | |
tree | 6d922ddfa14f037260cd838e97d155450d164e96 /cpukit/posix/src/posixtime.h | |
parent | 2011-05-18 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-20e3bf7a1bffbf03446157df9e84b027861534e8.tar.bz2 |
2011-05-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/Makefile.am: Remove posixtime.h.
* posix/src/clockgetres.c, posix/src/clockgettime.c,
posix/src/clocksettime.c: Remove posixtime.h.
Require CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID.
* posix/src/posixtime.h: Remove.
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/posixtime.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/cpukit/posix/src/posixtime.h b/cpukit/posix/src/posixtime.h deleted file mode 100644 index bc28d60684..0000000000 --- a/cpukit/posix/src/posixtime.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) 2011. - * Ralf Corsépius, Ulm/Germany. - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -/* - * Adapt RTEMS to newlibs with broken - * CLOCK_PROCESS_CPUTIME_ID/CLOCK_PROCESS_CPUTIME - * CLOCK_THREAD_CPUTIME_ID/CLOCK_THREAD_CPUTIME - */ - -#ifndef _SRC_POSIX_POSIXTIME_H -#define _SRC_POSIX_POSIXTIME_H - -#include <time.h> - -#ifdef RTEMS_NEWLIB -/* Older newlibs bogusly used CLOCK_PROCESS_CPUTIME - instead of CLOCK_PROCESS_CPUTIME_ID */ -#ifndef CLOCK_PROCESS_CPUTIME_ID -#define CLOCK_PROCESS_CPUTIME_ID CLOCK_PROCESS_CPUTIME -#endif -/* Older newlibs bogusly used CLOCK_THREAD_CPUTIME - instead of CLOCK_PROCESS_CPUTIME_ID */ -#ifndef CLOCK_THREAD_CPUTIME_ID -#define CLOCK_THREAD_CPUTIME_ID CLOCK_THREAD_CPUTIME -#endif -#endif - -#endif |