source: rtems/c/src/lib/libc/no_libc.c @ aea06ed

4.104.114.84.95
Last change on this file since aea06ed was aea06ed, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 29, 1997 at 3:54:31 PM

Modifications to make go32 build using new i386-go32-rtems toolset
and gcc 2.8.x -specs options.

  • Property mode set to 100644
File size: 1001 bytes
Line 
1
2/*  no_libc.h
3 *
4 *  This file contains stubs for the reentrancy hooks when
5 *  an unknown C library is used.
6 *
7 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
8 *  On-Line Applications Research Corporation (OAR).
9 *  All rights assigned to U.S. Government, 1994.
10 *
11 *  This material may be reproduced by or for the U.S. Government pursuant
12 *  to the copyright license under the clause at DFARS 252.227-7013.  This
13 *  notice must appear in all copies of this file and its derivatives.
14 *
15 *  $Id$
16 */
17
18
19#include <rtems.h>
20#if  !defined(RTEMS_NEWLIB) && !defined(RTEMS_UNIX)
21
22#include "libcsupport.h"
23#include "internal.h"
24
25#include <stdlib.h>             /* for free() */
26
27void
28libc_init(int reentrant)
29{
30}
31
32void libc_suspend_main(void)
33{
34}
35
36
37void libc_global_exit(rtems_unsigned32 code)
38{
39}
40
41void _exit(int status)
42{
43}
44
45#else
46
47/* remove ANSI errors.
48 *  A program must contain at least one external-declaration
49 *  (X3.159-1989 p.82,L3).
50 */
51void no_libc_dummy_function( void )
52{
53}
54
55#endif
Note: See TracBrowser for help on using the repository browser.