From e39cdb875ce7458787b0be173f2f7893a774a673 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 18 Jan 2016 14:28:00 -0600 Subject: 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. --- cpukit/posix/src/clocksetenableattr.c | 40 ----------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 cpukit/posix/src/clocksetenableattr.c (limited to 'cpukit/posix/src/clocksetenableattr.c') diff --git a/cpukit/posix/src/clocksetenableattr.c b/cpukit/posix/src/clocksetenableattr.c deleted file mode 100644 index ac15f31ca4..0000000000 --- a/cpukit/posix/src/clocksetenableattr.c +++ /dev/null @@ -1,40 +0,0 @@ -/** - * @file - * - * @brief Clock set 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 -#include - -#include -#include -#include - -#include - -/* - * 20.1.5 CPU-time Clock Attribute Access, P1003.4b/D8, p. 58 - */ - -int clock_setenable_attr( - clockid_t clock_id, - int attr -) -{ - rtems_set_errno_and_return_minus_one( ENOSYS ); -} -- cgit v1.2.3