wrong SPINLOCK type declaration (actual structure, not pointer, needed)
This commit is contained in:
@ -33,7 +33,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
static MEMLOG *memlogs = NULL;
|
static MEMLOG *memlogs = NULL;
|
||||||
static SPINLOCK *memlock = SPINLOCK_INIT;
|
static SPINLOCK memlock = SPINLOCK_INIT;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new instance of a memory logger.
|
* Create a new instance of a memory logger.
|
||||||
|
Reference in New Issue
Block a user