mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 21:23:06 +00:00
Enabled -Wstrict-prototypes and fixed warnings.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user