From ec34180ff4e2437e73869ca1172461e40e36bc24 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 30 Aug 2010 12:25:10 +0000 Subject: Remove. --- cpukit/posix/include/devctl.h | 48 ------------------------------------------- cpukit/posix/src/devctl.c | 35 ------------------------------- 2 files changed, 83 deletions(-) delete mode 100644 cpukit/posix/include/devctl.h delete mode 100644 cpukit/posix/src/devctl.c (limited to 'cpukit/posix') diff --git a/cpukit/posix/include/devctl.h b/cpukit/posix/include/devctl.h deleted file mode 100644 index 0f24c8c7e4..0000000000 --- a/cpukit/posix/include/devctl.h +++ /dev/null @@ -1,48 +0,0 @@ -/** - * @file devctl.h - */ - -/* - * 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.com/license/LICENSE. - * - * $Id$ - */ - -#ifndef _DEVCTL_H -#define _DEVCTL_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include - -#if defined(_POSIX_DEVICE_CONTROL) - -#include -#include - -/* - * 21.2.1 Control a Device, P1003.4b/D8, p. 65 - */ - -int devctl( - int filedes, - void *dev_data_ptr, - size_t nbyte, - int *dev_info_ptr -); - -#endif - -#ifdef __cplusplus -} -#endif - -#endif -/* end of include file */ diff --git a/cpukit/posix/src/devctl.c b/cpukit/posix/src/devctl.c deleted file mode 100644 index 74e4e671ca..0000000000 --- a/cpukit/posix/src/devctl.c +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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.com/license/LICENSE. - * - * $Id$ - */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#include -#include - -#include -#include - -/*PAGE - * - * 21.2.1 Control a Device, P1003.4b/D8, p. 65 - */ - -int devctl( - int filedes __attribute__((unused)), - void *dev_data_ptr __attribute__((unused)), - size_t nbyte __attribute__((unused)), - int *dev_info_ptr __attribute__((unused)) -) -{ - rtems_set_errno_and_return_minus_one( ENOSYS ); -} -- cgit v1.2.3