rtld: remove dup __crt_malloc prototypes

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D41150
This commit is contained in:
Konstantin Belousov 2023-07-22 07:37:50 +03:00
parent a24726a6f3
commit cf6dbdd135
2 changed files with 1 additions and 5 deletions

View File

@ -419,9 +419,4 @@ void ifunc_init(Elf_Auxinfo[__min_size(AT_COUNT)]);
void init_pltgot(Obj_Entry *); void init_pltgot(Obj_Entry *);
void allocate_initial_tls(Obj_Entry *); void allocate_initial_tls(Obj_Entry *);
void *__crt_calloc(size_t num, size_t size);
void __crt_free(void *cp);
void *__crt_malloc(size_t nbytes);
void *__crt_realloc(void *cp, size_t nbytes);
#endif /* } */ #endif /* } */

View File

@ -56,6 +56,7 @@ static char *rcsid = "$FreeBSD$";
#include "rtld.h" #include "rtld.h"
#include "rtld_printf.h" #include "rtld_printf.h"
#include "rtld_paths.h" #include "rtld_paths.h"
#include "rtld_malloc.h"
/* /*
* Pre-allocate mmap'ed pages * Pre-allocate mmap'ed pages