4.104.114.84.95
Last change
on this file since d6c20ff3 was
d6c20ff3,
checked in by Joel Sherrill <joel.sherrill@…>, on 08/17/01 at 21:59:28
|
2001-08-17 Joel Sherrill <joel@…>
- 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.
|
-
Property mode set to
100644
|
File size:
921 bytes
|
Rev | Line | |
---|
[eb5a7e07] | 1 | /* |
---|
| 2 | * $Id$ |
---|
[07a3253d] | 3 | * UNIX Port C Library Support |
---|
| 4 | * |
---|
[08311cc3] | 5 | * COPYRIGHT (c) 1989-1999. |
---|
[07a3253d] | 6 | * On-Line Applications Research Corporation (OAR). |
---|
| 7 | * |
---|
| 8 | * The license and distribution terms for this file may be |
---|
| 9 | * found in the file LICENSE in this distribution or at |
---|
| 10 | * http://www.OARcorp.com/rtems/license.html. |
---|
| 11 | * |
---|
[eb5a7e07] | 12 | */ |
---|
| 13 | |
---|
[9c49db4] | 14 | #if HAVE_CONFIG_H |
---|
| 15 | #include "config.h" |
---|
| 16 | #endif |
---|
| 17 | |
---|
[1dc3500] | 18 | #include <rtems.h> |
---|
| 19 | |
---|
[d6c20ff3] | 20 | rtems_status_code rtems_io_register_name( |
---|
| 21 | char *device_name, |
---|
| 22 | rtems_device_major_number major, |
---|
| 23 | rtems_device_minor_number minor |
---|
| 24 | ) |
---|
| 25 | { |
---|
| 26 | return 0; /* not supported */ |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | rtems_status_code rtems_io_lookup_name( |
---|
| 30 | const char *name, |
---|
| 31 | rtems_driver_name_t **device_info |
---|
| 32 | ) |
---|
| 33 | { |
---|
| 34 | return 0; /* not supported */ |
---|
| 35 | } |
---|
| 36 | |
---|
[ac7d5ef0] | 37 | #if defined(RTEMS_UNIXLIB) |
---|
| 38 | |
---|
| 39 | void libc_init(int reentrant) |
---|
| 40 | { |
---|
| 41 | } |
---|
| 42 | |
---|
[0c35efe] | 43 | #else |
---|
| 44 | |
---|
| 45 | /* remove ANSI errors. |
---|
| 46 | * A program must contain at least one external-declaration |
---|
| 47 | * (X3.159-1989 p.82,L3). |
---|
| 48 | */ |
---|
| 49 | void unixlibc_dummy_function( void ) |
---|
| 50 | { |
---|
| 51 | } |
---|
| 52 | |
---|
[ac7d5ef0] | 53 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.