source: rtems/cpukit/libcsupport/src/no_libc.c @ 83c5fc1

4.104.114.84.95
Last change on this file since 83c5fc1 was 83c5fc1, checked in by Ralf Corsepius <ralf.corsepius@…>, on Mar 23, 2004 at 6:07:53 AM

2004-03-23 Ralf Corsepius <ralf_corsepius@…>

  • libcsupport/include/chain.h, libcsupport/include/clockdrv.h, libcsupport/include/ringbuf.h, libcsupport/include/spurious.h, libcsupport/include/timerdrv.h, libcsupport/include/vmeintr.h, libcsupport/include/motorola/mc68230.h, libcsupport/include/rtems/assoc.h, libcsupport/include/rtems/libio.h, libcsupport/include/rtems/libio_.h, libcsupport/include/rtems/termiostypes.h, libcsupport/include/zilog/z8036.h, libcsupport/include/zilog/z8530.h, libcsupport/include/zilog/z8536.h, libcsupport/src/gettod.c, libcsupport/src/assoc.c, libcsupport/src/assocnamebad.c, libcsupport/src/error.c, libcsupport/src/libio.c, libcsupport/src/libio_sockets.c, libcsupport/src/malloc.c, libcsupport/src/no_libc.c, libcsupport/src/termios.c, libcsupport/src/termiosreserveresources.c: Convert to using c99 fixed-size types.
  • Property mode set to 100644
File size: 883 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.rtems.com/license/LICENSE.
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
26void libc_init(
27  int reentrant
28)
29{
30}
31
32void libc_suspend_main(void)
33{
34}
35
36
37void libc_global_exit(
38  uint32_t   code
39)
40{
41}
42
43void _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 */
55void no_libc_dummy_function( void )
56{
57}
58
59#endif
Note: See TracBrowser for help on using the repository browser.