summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/unixlibc_io.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-14 17:56:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-14 17:56:54 +0000
commit8a5186d531531aa26f72feee82017fd35c50e6c8 (patch)
treecdee8aeddc446ca257c0c54b11884d62cc55ae37 /cpukit/libcsupport/src/unixlibc_io.c
parent2007-05-14 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-8a5186d531531aa26f72feee82017fd35c50e6c8.tar.bz2
2007-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry rtems_io_register_name for use on unix. * libcsupport/src/unixlibc_io.c: New file.
Diffstat (limited to 'cpukit/libcsupport/src/unixlibc_io.c')
-rw-r--r--cpukit/libcsupport/src/unixlibc_io.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/unixlibc_io.c b/cpukit/libcsupport/src/unixlibc_io.c
new file mode 100644
index 0000000000..eb6afa8bee
--- /dev/null
+++ b/cpukit/libcsupport/src/unixlibc_io.c
@@ -0,0 +1,35 @@
+/*
+ * UNIX Port C Library Support -- IO Manager Stubs
+ *
+ * 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 <rtems.h>
+
+rtems_status_code rtems_io_register_name(
+ const char *device_name,
+ rtems_device_major_number major,
+ rtems_device_minor_number minor
+)
+{
+ return 0; /* not supported */
+}
+
+rtems_status_code rtems_io_lookup_name(
+ const char *name,
+ rtems_driver_name_t *device_info
+)
+{
+ return 0; /* not supported */
+}