source: trunk/libs/newlib/src/newlib/libc/sys/linux/libc-internal.h @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 906 bytes
Line 
1/* This file contains a number of internal prototype declarations that
2   don't fit anywhere else.  */
3
4#ifndef _LIBC_INTERNAL
5# define _LIBC_INTERNAL 1
6
7#include <hp-timing.h>
8
9/* Initialize the `__libc_enable_secure' flag.  */
10extern void __libc_init_secure (void);
11
12/* This function will be called from _init in init-first.c.  */
13extern void __libc_global_ctors (void);
14
15/* Discover the tick frequency of the machine if something goes wrong,
16   we return 0, an impossible hertz.  */
17extern int __profile_frequency (void);
18
19/* Hooks for the instrumenting functions.  */
20extern void __cyg_profile_func_enter (void *this_fn, void *call_site);
21extern void __cyg_profile_func_exit (void *this_fn, void *call_site);
22
23/* Get frequency of the system processor.  */
24extern hp_timing_t __get_clockfreq (void);
25
26/* Free all allocated resources.  */
27extern void __libc_freeres (void);
28
29#endif /* _LIBC_INTERNAL  */
Note: See TracBrowser for help on using the repository browser.