mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 16:43:33 +03:00
Remove mutex_prof_data_t redeclaration.
Redeclaration causes compilations failures with e.g. gcc 4.2.1 on
FreeBSD. This regression was introduced by
89e2d3c12b (Header refactoring: ctl -
unify and remove from catchall.).
This commit is contained in:
parent
31baedbbb9
commit
11d2f39d96
2 changed files with 1 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ typedef enum {
|
||||||
mutex_prof_num_counters
|
mutex_prof_num_counters
|
||||||
} mutex_prof_counter_ind_t;
|
} mutex_prof_counter_ind_t;
|
||||||
|
|
||||||
typedef struct mutex_prof_data_s {
|
typedef struct {
|
||||||
/*
|
/*
|
||||||
* Counters touched on the slow path, i.e. when there is lock
|
* Counters touched on the slow path, i.e. when there is lock
|
||||||
* contention. We update them once we have the lock.
|
* contention. We update them once we have the lock.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
#ifndef JEMALLOC_INTERNAL_MUTEX_TYPES_H
|
#ifndef JEMALLOC_INTERNAL_MUTEX_TYPES_H
|
||||||
#define JEMALLOC_INTERNAL_MUTEX_TYPES_H
|
#define JEMALLOC_INTERNAL_MUTEX_TYPES_H
|
||||||
|
|
||||||
typedef struct mutex_prof_data_s mutex_prof_data_t;
|
|
||||||
typedef struct malloc_mutex_s malloc_mutex_t;
|
typedef struct malloc_mutex_s malloc_mutex_t;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue