Blame include/libc-internal.h

Packit 6c4009
/* Internal prototype declarations that don't fit anywhere else.
Packit 6c4009
   Copyright (C) 2000-2018 Free Software Foundation, Inc.
Packit 6c4009
   This file is part of the GNU C Library.
Packit 6c4009
Packit 6c4009
   The GNU C Library is free software; you can redistribute it and/or
Packit 6c4009
   modify it under the terms of the GNU Lesser General Public
Packit 6c4009
   License as published by the Free Software Foundation; either
Packit 6c4009
   version 2.1 of the License, or (at your option) any later version.
Packit 6c4009
Packit 6c4009
   The GNU C Library is distributed in the hope that it will be useful,
Packit 6c4009
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 6c4009
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 6c4009
   Lesser General Public License for more details.
Packit 6c4009
Packit 6c4009
   You should have received a copy of the GNU Lesser General Public
Packit 6c4009
   License along with the GNU C Library; if not, see
Packit 6c4009
   <http://www.gnu.org/licenses/>.  */
Packit 6c4009
Packit 6c4009
#ifndef _LIBC_INTERNAL
Packit 6c4009
# define _LIBC_INTERNAL 1
Packit 6c4009
Packit 6c4009
#include <hp-timing.h>
Packit 6c4009
Packit 6c4009
/* Initialize the `__libc_enable_secure' flag.  */
Packit 6c4009
extern void __libc_init_secure (void);
Packit 6c4009
Packit 6c4009
/* This function will be called from _init in init-first.c.  */
Packit 6c4009
extern void __libc_global_ctors (void);
Packit 6c4009
Packit 6c4009
/* Discover the tick frequency of the machine if something goes wrong,
Packit 6c4009
   we return 0, an impossible hertz.  */
Packit 6c4009
extern int __profile_frequency (void);
Packit 6c4009
libc_hidden_proto (__profile_frequency)
Packit 6c4009
Packit 6c4009
/* Hooks for the instrumenting functions.  */
Packit 6c4009
extern void __cyg_profile_func_enter (void *this_fn, void *call_site);
Packit 6c4009
extern void __cyg_profile_func_exit (void *this_fn, void *call_site);
Packit 6c4009
Packit 6c4009
/* Free all allocated resources.  */
Packit 6c4009
extern void __libc_freeres (void);
Packit 6c4009
libc_hidden_proto (__libc_freeres)
Packit 6c4009
Packit 6c4009
/* Free resources stored in thread-local variables on thread exit.  */
Packit 6c4009
extern void __libc_thread_freeres (void);
Packit 6c4009
Packit 6c4009
/* Define and initialize `__progname' et. al.  */
Packit 6c4009
extern void __init_misc (int, char **, char **) attribute_hidden;
Packit 6c4009
Packit 6c4009
# if IS_IN (rtld) && !defined NO_RTLD_HIDDEN
Packit 6c4009
extern __typeof (__profile_frequency) __profile_frequency attribute_hidden;
Packit 6c4009
# endif
Packit 6c4009
Packit 6c4009
extern int __libc_multiple_libcs attribute_hidden;
Packit 6c4009
Packit 6c4009
#endif /* _LIBC_INTERNAL  */