Make allocchain static just in case

This commit is contained in:
jpaana 2003-02-16 23:50:46 +00:00
parent 0f06ee708a
commit 338d299280

View file

@ -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 *));