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

4.104.114.84.95
Last change on this file since db4aaf8 was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on 02/17/98 at 23:46:28

updated copyright to 1998

  • Property mode set to 100644
File size: 918 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-1998.
8 *  On-Line Applications Research Corporation (OAR).
9 *  Copyright assigned to U.S. Government, 1994.
10 *
11 *  The license and distribution terms for this file may be
12 *  found in the file LICENSE in this distribution or at
13 *  http://www.OARcorp.com/rtems/license.html.
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.