Make allocchain static just in case
This commit is contained in:
parent
0f06ee708a
commit
338d299280
1 changed files with 1 additions and 1 deletions
|
@ -1574,7 +1574,7 @@ typedef struct allocchain_s {
|
||||||
char data[1];//variable sized
|
char data[1];//variable sized
|
||||||
} allocchain_t;
|
} allocchain_t;
|
||||||
|
|
||||||
allocchain_t *allocChain = NULL;
|
static allocchain_t *allocChain = NULL;
|
||||||
|
|
||||||
void *GF3_getDriverMem(size_t size, drivermem_t hint) {
|
void *GF3_getDriverMem(size_t size, drivermem_t hint) {
|
||||||
allocchain_t *r = (allocchain_t *)malloc(size+sizeof(void *));
|
allocchain_t *r = (allocchain_t *)malloc(size+sizeof(void *));
|
||||||
|
|
Loading…
Reference in a new issue