diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-12-15 00:24:30 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-12-15 00:24:30 +0000 |
commit | 063a19a2909c7a3d31c2af410d01e3fd6f0100c6 (patch) | |
tree | 37dd18b56a9352d8b228dae38b5847c13d88a2b0 /c/src/exec/posix/headers/time.h | |
parent | Switch from .s to .S on include (diff) | |
download | rtems-063a19a2909c7a3d31c2af410d01e3fd6f0100c6.tar.bz2 |
Moved around per Ralf Corsepius as preparation for automake
Diffstat (limited to 'c/src/exec/posix/headers/time.h')
-rw-r--r-- | c/src/exec/posix/headers/time.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/c/src/exec/posix/headers/time.h b/c/src/exec/posix/headers/time.h deleted file mode 100644 index 0e87db388e..0000000000 --- a/c/src/exec/posix/headers/time.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * - * - * $Id$ - */ - -#ifndef __RTEMS_POSIX_TIME_h -#define __RTEMS_POSIX_TIME_h - -#include <rtems/score/tod.h> - -/* - * Seconds from January 1, 1970 to January 1, 1988. Used to account for - * differences between POSIX API and RTEMS core. - */ - -#define POSIX_TIME_SECONDS_1970_THROUGH_1988 \ - (((1987 - 1970 + 1) * TOD_SECONDS_PER_NON_LEAP_YEAR) + \ - (4 * TOD_SECONDS_PER_DAY)) - -/*PAGE - * - * _POSIX_Timespec_subtract - */ - -void _POSIX_Timespec_subtract( - const struct timespec *the_start, - const struct timespec *end, - struct timespec *result -); - -/* - * _POSIX_Timespec_to_interval - */ - -Watchdog_Interval _POSIX_Timespec_to_interval( - const struct timespec *time -); - -/*PAGE - * - * _POSIX_Interval_to_timespec - */ - -void _POSIX_Interval_to_timespec( - Watchdog_Interval ticks, - struct timespec *time -); - -#endif |