Clean up some minor data structure inconsistencies
Namely, unify the include guard styling with the majority of the project, and do flat_bitmap -> fb, to match its naming convention.
This commit is contained in:
committed by
David Goldblatt
parent
1f688490e1
commit
aea91b8c33
@@ -2,7 +2,7 @@
|
||||
#define JEMALLOC_INTERNAL_ESET_H
|
||||
|
||||
#include "jemalloc/internal/atomic.h"
|
||||
#include "jemalloc/internal/flat_bitmap.h"
|
||||
#include "jemalloc/internal/fb.h"
|
||||
#include "jemalloc/internal/edata.h"
|
||||
#include "jemalloc/internal/mutex.h"
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#ifndef JEMALLOC_INTERNAL_HPDATA_H
|
||||
#define JEMALLOC_INTERNAL_HPDATA_H
|
||||
|
||||
#include "jemalloc/internal/flat_bitmap.h"
|
||||
#include "jemalloc/internal/fb.h"
|
||||
#include "jemalloc/internal/ph.h"
|
||||
#include "jemalloc/internal/ql.h"
|
||||
#include "jemalloc/internal/typed_list.h"
|
||||
|
@@ -1,3 +1,6 @@
|
||||
#ifndef JEMALLOC_INTERNAL_PH_H
|
||||
#define JEMALLOC_INTERNAL_PH_H
|
||||
|
||||
/*
|
||||
* A Pairing Heap implementation.
|
||||
*
|
||||
@@ -12,9 +15,6 @@
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
||||
#ifndef PH_H_
|
||||
#define PH_H_
|
||||
|
||||
/* Node structure. */
|
||||
#define phn(a_type) \
|
||||
struct { \
|
||||
@@ -388,4 +388,4 @@ a_prefix##remove(a_ph_type *ph, a_type *phn) { \
|
||||
} \
|
||||
}
|
||||
|
||||
#endif /* PH_H_ */
|
||||
#endif /* JEMALLOC_INTERNAL_PH_H */
|
||||
|
@@ -1,3 +1,6 @@
|
||||
#ifndef JEMALLOC_INTERNAL_RB_H
|
||||
#define JEMALLOC_INTERNAL_RB_H
|
||||
|
||||
/*-
|
||||
*******************************************************************************
|
||||
*
|
||||
@@ -19,9 +22,6 @@
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
||||
#ifndef RB_H_
|
||||
#define RB_H_
|
||||
|
||||
#ifndef __PGI
|
||||
#define RB_COMPACT
|
||||
#endif
|
||||
@@ -1003,4 +1003,4 @@ a_prefix##destroy(a_rbt_type *rbtree, void (*cb)(a_type *, void *), \
|
||||
rbtree->rbt_root = NULL; \
|
||||
}
|
||||
|
||||
#endif /* RB_H_ */
|
||||
#endif /* JEMALLOC_INTERNAL_RB_H */
|
||||
|
Reference in New Issue
Block a user