summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/unixlibc.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-17 21:59:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-17 21:59:28 +0000
commitd6c20ff3733a781a34fc26c42fe5f41df9aada52 (patch)
tree490714fe9e44ba59679e95cae54c996175901775 /cpukit/libcsupport/src/unixlibc.c
parent19465445f29be6011d18974bc7c382873e44fefe (diff)
downloadrtems-d6c20ff3733a781a34fc26c42fe5f41df9aada52.tar.bz2
2001-08-17 Joel Sherrill <joel@OARcorp.com>
* include/rtems/libio_.h: Added ifdef to ensure that LOGIN_NAME_MAX is defined on GNU/Linux (RedHat 6.2 distribution). * libc/unixlibc.c: Added stubs for rtems_io_register_name() and rtems_io_lookup_name() so UNIX port would compile the IO manager sptest that registers /dev/null.
Diffstat (limited to '')
-rw-r--r--cpukit/libcsupport/src/unixlibc.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/unixlibc.c b/cpukit/libcsupport/src/unixlibc.c
index abc4526397..f0232ce5db 100644
--- a/cpukit/libcsupport/src/unixlibc.c
+++ b/cpukit/libcsupport/src/unixlibc.c
@@ -17,6 +17,23 @@
#include <rtems.h>
+rtems_status_code rtems_io_register_name(
+ 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 */
+}
+
#if defined(RTEMS_UNIXLIB)
void libc_init(int reentrant)