Update.
[glibc.git] / include / libc-internal.h
blob8369ffec2e3555d9d1bc82b43c55261e58718cd7
1 /* This file contains a number of internal prototype declarations that
2 don't fit anywhere else. */
4 #ifndef _LIBC_INTERNAL
5 # define _LIBC_INTERNAL 1
7 #include <hp-timing.h>
9 /* Initialize the `__libc_enable_secure' flag. */
10 extern void __libc_init_secure (void);
12 /* This function will be called from _init in init-first.c. */
13 extern void __libc_global_ctors (void);
15 /* Discover the tick frequency of the machine if something goes wrong,
16 we return 0, an impossible hertz. */
17 extern int __profile_frequency (void);
19 /* Hooks for the instrumenting functions. */
20 extern void __cyg_profile_func_enter (void *this_fn, void *call_site);
21 extern void __cyg_profile_func_exit (void *this_fn, void *call_site);
23 /* Get frequency of the system processor. */
24 extern hp_timing_t __get_clockfreq (void);
26 /* Free all allocated resources. */
27 extern void __libc_freeres (void);
29 #endif /* _LIBC_INTERNAL */