4.104.114.84.95
Last change
on this file since acdb6558 was
9c49db4,
checked in by Joel Sherrill <joel.sherrill@…>, on 01/08/01 at 18:26:44
|
2001-01-08 Ralf Corsepius <corsepiu@…>
- configure.in: Add libc/config.h
- libc/Makefile.am: Add INCLUDES += -I. to pickup config.h
- libc/.cvsignore: Add config.h and stamp-h
- libc/*.c: Add config.h support.
|
-
Property mode set to
100644
|
File size:
894 bytes
|
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 | #if HAVE_CONFIG_H |
---|
16 | #include "config.h" |
---|
17 | #endif |
---|
18 | |
---|
19 | #include <rtems.h> |
---|
20 | #if !defined(RTEMS_NEWLIB) && !defined(RTEMS_UNIX) |
---|
21 | |
---|
22 | #include <rtems/libcsupport.h> |
---|
23 | |
---|
24 | #include <stdlib.h> /* for free() */ |
---|
25 | |
---|
26 | void libc_init( |
---|
27 | int reentrant |
---|
28 | ) |
---|
29 | { |
---|
30 | } |
---|
31 | |
---|
32 | void libc_suspend_main(void) |
---|
33 | { |
---|
34 | } |
---|
35 | |
---|
36 | |
---|
37 | void libc_global_exit( |
---|
38 | rtems_unsigned32 code |
---|
39 | ) |
---|
40 | { |
---|
41 | } |
---|
42 | |
---|
43 | void _exit( |
---|
44 | int status |
---|
45 | ) |
---|
46 | { |
---|
47 | } |
---|
48 | |
---|
49 | #else |
---|
50 | |
---|
51 | /* remove ANSI errors. |
---|
52 | * A program must contain at least one external-declaration |
---|
53 | * (X3.159-1989 p.82,L3). |
---|
54 | */ |
---|
55 | void no_libc_dummy_function( void ) |
---|
56 | { |
---|
57 | } |
---|
58 | |
---|
59 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.