mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-17 10:30:20 +00:00
48896b9dba
2000-12-05 Andreas Jaeger <aj@suse.de> * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as internal_function. * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise. * sysdeps/generic/dl-cache.c: Remove declaration of _dl_sysdep_read_whole_file. * elf/dl-load.c (_dl_map_object): Remove declaration of _dl_load_cache_lookup. * sysdeps/generic/ldsodefs.h: Add declarations of _dl_load_cache_lookup, _dl_unload_cache, _dl_sysdep_read_whole_file, _dl_sysdep_start and _dl_sysdep_start_cleanup. * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h now. * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes. * sysdeps/generic/dl-environ.c: Likewise. * stdio-common/printf_fp.c: Include <gmp.h> instead of <stdlib/gmp.h>. * math/atest-exp.c: Likewise. * math/atest-exp2.c: Likewise. * math/atest-sincos.c: Likewise. * stdio-common/_itoa.c: Likewise. * stdio-common/_itowa.c: Likewise. * include/gmp.h: New file with internal prototypes. * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from here to... * include/setjmp.h: ...here. * locale/Makefile (routines): Remove codeset_name since it's not needed anywhere. * locale/codeset_name.c: Removed.
19 lines
638 B
C
19 lines
638 B
C
#ifndef _SETJMP_H
|
|
#include <setjmp/setjmp.h>
|
|
|
|
/* Now define the internal interfaces. */
|
|
|
|
/* Internal machine-dependent function to restore context sans signal mask. */
|
|
extern void __longjmp (__jmp_buf __env, int __val)
|
|
__attribute__ ((__noreturn__));
|
|
|
|
/* Internal function to possibly save the current mask of blocked signals
|
|
in ENV, and always set the flag saying whether or not it was saved.
|
|
This is used by the machine-dependent definition of `__sigsetjmp'.
|
|
Always returns zero, for convenience. */
|
|
extern int __sigjmp_save (jmp_buf __env, int __savemask);
|
|
|
|
extern void _longjmp_unwind (jmp_buf env, int val);
|
|
|
|
#endif
|