i386: Regenerate libm-test-ulps for for gcc 7 on i686
[glibc.git] / include / libc-internal.h
blob2167990c52bd708b2bca448ed698fae34246ab33
1 /* Internal prototype declarations that don't fit anywhere else.
2 Copyright (C) 2000-2018 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <http://www.gnu.org/licenses/>. */
19 #ifndef _LIBC_INTERNAL
20 # define _LIBC_INTERNAL 1
22 #include <hp-timing.h>
24 /* Initialize the `__libc_enable_secure' flag. */
25 extern void __libc_init_secure (void);
27 /* This function will be called from _init in init-first.c. */
28 extern void __libc_global_ctors (void);
30 /* Discover the tick frequency of the machine if something goes wrong,
31 we return 0, an impossible hertz. */
32 extern int __profile_frequency (void);
33 libc_hidden_proto (__profile_frequency)
35 /* Hooks for the instrumenting functions. */
36 extern void __cyg_profile_func_enter (void *this_fn, void *call_site);
37 extern void __cyg_profile_func_exit (void *this_fn, void *call_site);
39 /* Get frequency of the system processor. */
40 extern hp_timing_t __get_clockfreq (void);
42 /* Free all allocated resources. */
43 extern void __libc_freeres (void);
44 libc_hidden_proto (__libc_freeres)
46 /* Free resources stored in thread-local variables on thread exit. */
47 extern void __libc_thread_freeres (void);
49 /* Define and initialize `__progname' et. al. */
50 extern void __init_misc (int, char **, char **) attribute_hidden;
52 # if IS_IN (rtld) && !defined NO_RTLD_HIDDEN
53 extern __typeof (__profile_frequency) __profile_frequency attribute_hidden;
54 # endif
56 extern int __libc_multiple_libcs attribute_hidden;
58 #endif /* _LIBC_INTERNAL */