diff options
author | Joel Sherrill <joel@rtems.org> | 2016-01-18 14:28:00 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-01-18 14:28:00 -0600 |
commit | e39cdb875ce7458787b0be173f2f7893a774a673 (patch) | |
tree | 416cace7a5615149676367983f24daa39e0db9af /cpukit/posix/src/clockgetenableattr.c | |
parent | Chase Newlib sys/types.h / sys/select.h changes (diff) | |
download | rtems-e39cdb875ce7458787b0be173f2f7893a774a673.tar.bz2 |
posix: Remove clock_getenable_attr() and clock_setenable_attr()
These were not implemented and it does not appear that they were
ever officially part of an approved POSIX standard. They were
likely part of the Draft 8 of POSIX 1003.1b that RTEMS pthreads
were initially based upon.
closes #2531.
Diffstat (limited to 'cpukit/posix/src/clockgetenableattr.c')
-rw-r--r-- | cpukit/posix/src/clockgetenableattr.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/cpukit/posix/src/clockgetenableattr.c b/cpukit/posix/src/clockgetenableattr.c deleted file mode 100644 index f37984b64b..0000000000 --- a/cpukit/posix/src/clockgetenableattr.c +++ /dev/null @@ -1,40 +0,0 @@ -/** - * @file - * - * @brief Clock get Enable Attribute Access - * @ingroup POSIXAPI - */ - -/* - * COPYRIGHT (c) 1989-2007. - * 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. - */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#include <time.h> -#include <errno.h> - -#include <rtems/system.h> -#include <rtems/score/isr.h> -#include <rtems/score/thread.h> - -#include <rtems/seterr.h> - -/* - * 20.1.5 CPU-time Clock Attribute Access, P1003.4b/D8, p. 58 - */ - -int clock_getenable_attr( - clockid_t clock_id, - int *attr -) -{ - rtems_set_errno_and_return_minus_one( ENOSYS ); -} |