diff options
-rw-r--r-- | cpukit/posix/Makefile.am | 3 | ||||
-rw-r--r-- | cpukit/posix/src/clockgetenableattr.c | 40 | ||||
-rw-r--r-- | cpukit/posix/src/clocksetenableattr.c | 40 |
3 files changed, 1 insertions, 82 deletions
diff --git a/cpukit/posix/Makefile.am b/cpukit/posix/Makefile.am index 89621fee59..5a63076cc7 100644 --- a/cpukit/posix/Makefile.am +++ b/cpukit/posix/Makefile.am @@ -194,8 +194,7 @@ libposix_a_SOURCES += src/pspin.c src/pspindestroy.c src/pspininit.c \ src/pspinunlock.c ## TIME_C_FILES -libposix_a_SOURCES += src/adjtime.c \ - src/clockgetcpuclockid.c src/clockgetenableattr.c src/clocksetenableattr.c +libposix_a_SOURCES += src/adjtime.c src/clockgetcpuclockid.c ## TIMER_C_FILES libposix_a_SOURCES += src/ptimer.c src/timercreate.c src/timerdelete.c \ 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 ); -} 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 <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_setenable_attr( - clockid_t clock_id, - int attr -) -{ - rtems_set_errno_and_return_minus_one( ENOSYS ); -} |