tiles: unclear why TileStoreFreeList is an exported global
Looks private internal implementation detail that may benefit from compiler single compile unit optimisations.
This commit is contained in:
parent
0f19a20c8c
commit
686adc13b3
|
|
@ -61,8 +61,8 @@ global const Rect TiPlaneRect = { {MINFINITY+2, MINFINITY+2}, {INFINITY-2, INFIN
|
||||||
|
|
||||||
#ifdef HAVE_SYS_MMAN_H
|
#ifdef HAVE_SYS_MMAN_H
|
||||||
|
|
||||||
global Tile *TileStoreFreeList = NULL;
|
static Tile *TileStoreFreeList = NULL;
|
||||||
global Tile *TileStoreFreeList_end = NULL;
|
static Tile *TileStoreFreeList_end = NULL;
|
||||||
|
|
||||||
/* The new Tile Allocation scheme (Magic 8.0) */
|
/* The new Tile Allocation scheme (Magic 8.0) */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -85,9 +85,6 @@ typedef Tile *TileStore;
|
||||||
/* Page size is 4KB so we mmap a segment equal to 64 pages */
|
/* Page size is 4KB so we mmap a segment equal to 64 pages */
|
||||||
#define TILE_STORE_BLOCK_SIZE (4 * 1024 * 64)
|
#define TILE_STORE_BLOCK_SIZE (4 * 1024 * 64)
|
||||||
|
|
||||||
extern Tile *TileStoreFreeList;
|
|
||||||
extern Tile *TileStoreFreeList_end;
|
|
||||||
|
|
||||||
#endif /* HAVE_SYS_MMAN_H */
|
#endif /* HAVE_SYS_MMAN_H */
|
||||||
|
|
||||||
#define BOTTOM(tp) ((tp)->ti_ll.p_y)
|
#define BOTTOM(tp) ((tp)->ti_ll.p_y)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue