4.104.114.84.95
Line | |
---|
1 | /* |
---|
2 | * This file contains stubs for the reentrancy hooks when |
---|
3 | * an unknown C library is used. |
---|
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 | * $Id$ |
---|
13 | */ |
---|
14 | |
---|
15 | |
---|
16 | #include <rtems.h> |
---|
17 | #if !defined(RTEMS_NEWLIB) && !defined(RTEMS_UNIX) |
---|
18 | |
---|
19 | #include "libcsupport.h" |
---|
20 | |
---|
21 | #include <stdlib.h> /* for free() */ |
---|
22 | |
---|
23 | void libc_init( |
---|
24 | int reentrant |
---|
25 | ) |
---|
26 | { |
---|
27 | } |
---|
28 | |
---|
29 | void libc_suspend_main(void) |
---|
30 | { |
---|
31 | } |
---|
32 | |
---|
33 | |
---|
34 | void libc_global_exit( |
---|
35 | rtems_unsigned32 code |
---|
36 | ) |
---|
37 | { |
---|
38 | } |
---|
39 | |
---|
40 | void _exit( |
---|
41 | int status |
---|
42 | ) |
---|
43 | { |
---|
44 | } |
---|
45 | |
---|
46 | #else |
---|
47 | |
---|
48 | /* remove ANSI errors. |
---|
49 | * A program must contain at least one external-declaration |
---|
50 | * (X3.159-1989 p.82,L3). |
---|
51 | */ |
---|
52 | void no_libc_dummy_function( void ) |
---|
53 | { |
---|
54 | } |
---|
55 | |
---|
56 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.