source: rtems/c/src/lib/libc/no_libc.c @ 400c552

4.104.114.84.95
Last change on this file since 400c552 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • Property mode set to 100644
File size: 843 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
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
23void libc_init(
24  int reentrant
25)
26{
27}
28
29void libc_suspend_main(void)
30{
31}
32
33
34void libc_global_exit(
35  rtems_unsigned32 code
36)
37{
38}
39
40void _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 */
52void no_libc_dummy_function( void )
53{
54}
55
56#endif
Note: See TracBrowser for help on using the repository browser.