OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libc/] [no_libc.c] - Blame information for rev 373

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
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: no_libc.c,v 1.2 2001-09-27 12:01:15 chris Exp $
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
 
23
void libc_init(
24
  int reentrant
25
)
26
{
27
}
28
 
29
void libc_suspend_main(void)
30
{
31
}
32
 
33
 
34
void libc_global_exit(
35
  rtems_unsigned32 code
36
)
37
{
38
}
39
 
40
void _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
 */
52
void no_libc_dummy_function( void )
53
{
54
}
55
 
56
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.