mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-27 03:30:36 +08:00
2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/imfs/ioman.c: Remove RTEMS_UNIX, __linux__.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libfs/src/imfs/ioman.c: Remove RTEMS_UNIX, __linux__.
|
||||
|
||||
2009-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* score/src/threadhandler.c: Remove comment mentioning unix port.
|
||||
|
||||
@@ -29,10 +29,6 @@
|
||||
#include <rtems/seterr.h>
|
||||
#include "imfs.h"
|
||||
|
||||
#if defined(__linux__)
|
||||
#define S_IFCHR __S_IFCHR
|
||||
#endif
|
||||
|
||||
/*
|
||||
* rtems_io_register_name
|
||||
*
|
||||
@@ -45,7 +41,6 @@ rtems_status_code rtems_io_register_name(
|
||||
rtems_device_minor_number minor
|
||||
)
|
||||
{
|
||||
#if !defined(RTEMS_UNIX)
|
||||
int status;
|
||||
dev_t dev;
|
||||
|
||||
@@ -56,7 +51,6 @@ rtems_status_code rtems_io_register_name(
|
||||
if ( status )
|
||||
return RTEMS_TOO_MANY;
|
||||
|
||||
#endif
|
||||
return RTEMS_SUCCESSFUL;
|
||||
}
|
||||
|
||||
@@ -74,7 +68,6 @@ rtems_status_code rtems_io_lookup_name(
|
||||
rtems_driver_name_t *device_info
|
||||
)
|
||||
{
|
||||
#if !defined(RTEMS_UNIX)
|
||||
IMFS_jnode_t *the_jnode;
|
||||
rtems_filesystem_location_info_t loc;
|
||||
int result;
|
||||
@@ -102,6 +95,5 @@ rtems_status_code rtems_io_lookup_name(
|
||||
|
||||
rtems_filesystem_freenode( &loc );
|
||||
|
||||
#endif
|
||||
return RTEMS_SUCCESSFUL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user