4.104.114.84.95
Last change
on this file since 590cae7 was
97aaa2a,
checked in by Joel Sherrill <joel.sherrill@…>, on 02/03/03 at 23:57:33
|
2003-02-03 Joel Sherrill <joel@…>
PR 338/filesystem
- src/unixlibc.c: Side-effect of fixing reentrancy problem with
rtems_io_lookup_name() (API change).
|
-
Property mode set to
100644
|
File size:
921 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * UNIX Port C Library Support |
---|
4 | * |
---|
5 | * COPYRIGHT (c) 1989-1999. |
---|
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 | * |
---|
12 | */ |
---|
13 | |
---|
14 | #if HAVE_CONFIG_H |
---|
15 | #include "config.h" |
---|
16 | #endif |
---|
17 | |
---|
18 | #include <rtems.h> |
---|
19 | |
---|
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 | |
---|
37 | #if defined(RTEMS_UNIXLIB) |
---|
38 | |
---|
39 | void libc_init(int reentrant) |
---|
40 | { |
---|
41 | } |
---|
42 | |
---|
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 | |
---|
53 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.