mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-19 03:20:05 +00:00
37de950b40
2002-03-03 Andreas Jaeger <aj@suse.de> * elf/nodlopenmod2.c: Provide prototype to avoid warning. * elf/tst-tlsmod1.c: Likewise. * posix/regcomp.c: Get regex.h from include dir for internal prototypes. * sysdeps/unix/sysv/linux/init-first.c: Move __init_misc prototype to libc-internal.h and include it. * include/libc-internal.h: Add __init_misc. * misc/init-misc.c: Include libc-internal.h for prototypes. * sysdeps/wordsize-32/divdi3.c: Add prototypes to avoid warnings. * misc/error.c [_LIBC]: Include libioP.h for prototype of _IO_putc_internal.
33 lines
1006 B
C
33 lines
1006 B
C
/* This file contains a number of internal prototype declarations that
|
|
don't fit anywhere else. */
|
|
|
|
#ifndef _LIBC_INTERNAL
|
|
# define _LIBC_INTERNAL 1
|
|
|
|
#include <hp-timing.h>
|
|
|
|
/* Initialize the `__libc_enable_secure' flag. */
|
|
extern void __libc_init_secure (void);
|
|
|
|
/* This function will be called from _init in init-first.c. */
|
|
extern void __libc_global_ctors (void);
|
|
|
|
/* Discover the tick frequency of the machine if something goes wrong,
|
|
we return 0, an impossible hertz. */
|
|
extern int __profile_frequency (void);
|
|
|
|
/* Hooks for the instrumenting functions. */
|
|
extern void __cyg_profile_func_enter (void *this_fn, void *call_site);
|
|
extern void __cyg_profile_func_exit (void *this_fn, void *call_site);
|
|
|
|
/* Get frequency of the system processor. */
|
|
extern hp_timing_t __get_clockfreq (void);
|
|
|
|
/* Free all allocated resources. */
|
|
extern void __libc_freeres (void);
|
|
|
|
/* Define and initialize `__progname' et. al. */
|
|
extern void __init_misc (int, char **, char **);
|
|
|
|
#endif /* _LIBC_INTERNAL */
|