summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-07-28 14:45:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-07-28 14:54:51 +0200
commit21789a2117f7485000e0d88c3f76a6b9d507bb5a (patch)
treef14a8eee3d9c10fd673c43f55f7a50d9b5b58b05 /cpukit/posix/include
parentm68k: Include proper header file (diff)
downloadrtems-21789a2117f7485000e0d88c3f76a6b9d507bb5a.tar.bz2
score: Rename _POSIX_Absolute_timeout_to_ticks()
Rename _POSIX_Absolute_timeout_to_ticks() to _TOD_Absolute_timeout_to_ticks() and move it to the score directory. Delete empty <rtems/posix/time.h>.
Diffstat (limited to 'cpukit/posix/include')
-rw-r--r--cpukit/posix/include/rtems/posix/time.h72
1 files changed, 0 insertions, 72 deletions
diff --git a/cpukit/posix/include/rtems/posix/time.h b/cpukit/posix/include/rtems/posix/time.h
deleted file mode 100644
index 4eea228a6d..0000000000
--- a/cpukit/posix/include/rtems/posix/time.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
- * @file
- *
- * @brief POSIX Time Types
- *
- * This defines the interface to implementation helper routines related
- * to POSIX time types.
- */
-
-/*
- * COPYRIGHT (c) 1989-2011.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#ifndef _RTEMS_POSIX_TIME_H
-#define _RTEMS_POSIX_TIME_H
-
-#include <rtems/score/timespec.h>
-#include <rtems/score/watchdog.h>
-/**
- * @defgroup POSIX_TIMETYPES POSIX Time Types
- *
- * @ingroup POSIXAPI
- *
- */
-/**@{**/
-
-/**
- * @brief Absolute timeout conversion results.
- *
- * This enumeration defines the possible results of converting
- * an absolute time used for timeouts to POSIX blocking calls to
- * a number of ticks.
- */
-typedef enum {
- /** The timeout is invalid. */
- POSIX_ABSOLUTE_TIMEOUT_INVALID,
- /** The timeout represents a time that is in the past. */
- POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST,
- /** The timeout represents a time that is equal to the current time. */
- POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
- /** The timeout represents a time that is in the future. */
- POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE,
-} POSIX_Absolute_timeout_conversion_results_t;
-
-/**
- * @brief Convert absolute timeout to ticks.
- *
- * This method takes an absolute time being used as a timeout
- * to a blocking directive, validates it and returns the number
- * of corresponding clock ticks for use by the SuperCore.
- *
- * @param[in] abstime is a pointer to the timeout
- * @param[out] ticks_out will contain the number of ticks
- *
- * @return This method returns the number of ticks in @a ticks_out
- * and a status value indicating whether the absolute time
- * is valid, in the past, equal to the current time or in
- * the future as it should be.
- */
-POSIX_Absolute_timeout_conversion_results_t _POSIX_Absolute_timeout_to_ticks(
- const struct timespec *abstime,
- Watchdog_Interval *ticks_out
-);
-
-/** @} */
-
-#endif