diff options
author | Jason Evans <jasone@canonware.com> | 2017-05-11 16:06:41 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2017-05-11 17:49:43 (GMT) |
commit | 11d2f39d96d1a1e4d35a438e184fa0785a2baf08 (patch) | |
tree | 2ebbc27ce70fc1393d71fbd39e37c97fdcf582c8 /include/jemalloc | |
parent | 31baedbbb9d1701b13312415b59d2b6240bb18e4 (diff) | |
download | jemalloc-11d2f39d96d1a1e4d35a438e184fa0785a2baf08.zip jemalloc-11d2f39d96d1a1e4d35a438e184fa0785a2baf08.tar.gz jemalloc-11d2f39d96d1a1e4d35a438e184fa0785a2baf08.tar.bz2 |
Remove mutex_prof_data_t redeclaration.
Redeclaration causes compilations failures with e.g. gcc 4.2.1 on
FreeBSD. This regression was introduced by
89e2d3c12b573310e60b97beaf178007a71d83a3 (Header refactoring: ctl -
unify and remove from catchall.).
Diffstat (limited to 'include/jemalloc')
-rw-r--r-- | include/jemalloc/internal/mutex_prof.h | 2 | ||||
-rw-r--r-- | include/jemalloc/internal/mutex_types.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/jemalloc/internal/mutex_prof.h b/include/jemalloc/internal/mutex_prof.h index f7301c8..1cc198d 100644 --- a/include/jemalloc/internal/mutex_prof.h +++ b/include/jemalloc/internal/mutex_prof.h @@ -50,7 +50,7 @@ typedef enum { mutex_prof_num_counters } 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 * contention. We update them once we have the lock. diff --git a/include/jemalloc/internal/mutex_types.h b/include/jemalloc/internal/mutex_types.h index e658937..5af8d09 100644 --- a/include/jemalloc/internal/mutex_types.h +++ b/include/jemalloc/internal/mutex_types.h @@ -1,7 +1,6 @@ #ifndef 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; /* |