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 03/23/04 at 06:07:53

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
RevLine 
[07a3253d]1/*
[ac7d5ef0]2 *  This file contains stubs for the reentrancy hooks when
3 *  an unknown C library is used.
4 *
[08311cc3]5 *  COPYRIGHT (c) 1989-1999.
[ac7d5ef0]6 *  On-Line Applications Research Corporation (OAR).
7 *
[98e4ebf5]8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
[0eae36c7]10 *  http://www.rtems.com/license/LICENSE.
[ac7d5ef0]11 *
12 *  $Id$
13 */
14
[9c49db4]15#if HAVE_CONFIG_H
16#include "config.h"
17#endif
[ac7d5ef0]18
19#include <rtems.h>
[07a3253d]20#if !defined(RTEMS_NEWLIB) && !defined(RTEMS_UNIX)
[ac7d5ef0]21
[3ba74c73]22#include <rtems/libcsupport.h>
[ac7d5ef0]23
24#include <stdlib.h>             /* for free() */
25
[07a3253d]26void libc_init(
27  int reentrant
28)
[ac7d5ef0]29{
30}
31
32void libc_suspend_main(void)
33{
34}
35
36
[07a3253d]37void libc_global_exit(
[83c5fc1]38  uint32_t   code
[07a3253d]39)
[ac7d5ef0]40{
41}
42
[07a3253d]43void _exit(
44  int status
45)
[ac7d5ef0]46{
47}
48
[0c35efe]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
[ac7d5ef0]59#endif
Note: See TracBrowser for help on using the repository browser.