mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-23 04:15:39 +03:00
Enabled -Wstrict-prototypes and fixed warnings.
This commit is contained in:
parent
ebd7e99f5c
commit
602edd7566
42 changed files with 82 additions and 80 deletions
|
|
@ -428,7 +428,7 @@ prof_backtrace(tsd_t *tsd, prof_bt_t *bt) {
|
|||
}
|
||||
|
||||
void
|
||||
prof_hooks_init() {
|
||||
prof_hooks_init(void) {
|
||||
prof_backtrace_hook_set(&prof_backtrace_impl);
|
||||
prof_dump_hook_set(NULL);
|
||||
prof_sample_hook_set(NULL);
|
||||
|
|
@ -436,7 +436,7 @@ prof_hooks_init() {
|
|||
}
|
||||
|
||||
void
|
||||
prof_unwind_init() {
|
||||
prof_unwind_init(void) {
|
||||
#ifdef JEMALLOC_PROF_LIBGCC
|
||||
/*
|
||||
* Cause the backtracing machinery to allocate its internal
|
||||
|
|
@ -596,7 +596,7 @@ prof_open_maps_internal(const char *format, ...) {
|
|||
#endif
|
||||
|
||||
static int
|
||||
prof_dump_open_maps_impl() {
|
||||
prof_dump_open_maps_impl(void) {
|
||||
int mfd;
|
||||
|
||||
cassert(config_prof);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue