diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-08-30 12:25:10 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-08-30 12:25:10 +0000 |
commit | ec34180ff4e2437e73869ca1172461e40e36bc24 (patch) | |
tree | 4a0447c28d2e448499711b06489f9982fb013dbc /cpukit/posix | |
parent | 2010-08-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-ec34180ff4e2437e73869ca1172461e40e36bc24.tar.bz2 |
Remove.
Diffstat (limited to 'cpukit/posix')
-rw-r--r-- | cpukit/posix/include/devctl.h | 48 | ||||
-rw-r--r-- | cpukit/posix/src/devctl.c | 35 |
2 files changed, 0 insertions, 83 deletions
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 <unistd.h> - -#if defined(_POSIX_DEVICE_CONTROL) - -#include <sys/types.h> -#include <unistd.h> - -/* - * 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 <devctl.h> -#include <errno.h> - -#include <rtems/system.h> -#include <rtems/seterr.h> - -/*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 ); -} |