source: rtems/c/src/exec/libcsupport/src/no_libc.c @ 0c35efe

4.104.114.84.95
Last change on this file since 0c35efe was 0c35efe, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 18, 1996 at 8:54:05 PM

dummy function added to satisfy ANSI

  • Property mode set to 100644
File size: 1001 bytes
Line 
1#if  !defined(RTEMS_NEWLIB) && !defined(RTEMS_UNIX)
2
3/*  no_libc.h
4 *
5 *  This file contains stubs for the reentrancy hooks when
6 *  an unknown C library is used.
7 *
8 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
9 *  On-Line Applications Research Corporation (OAR).
10 *  All rights assigned to U.S. Government, 1994.
11 *
12 *  This material may be reproduced by or for the U.S. Government pursuant
13 *  to the copyright license under the clause at DFARS 252.227-7013.  This
14 *  notice must appear in all copies of this file and its derivatives.
15 *
16 *  $Id$
17 */
18
19
20#include <rtems.h>
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.