mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-11 16:01:25 +00:00
remove the unused macro
Signed-off-by: Long Wang <w@laoqinren.net>
This commit is contained in:
parent
05e7cd4aec
commit
157ad8d409
@ -39,11 +39,6 @@
|
|||||||
|
|
||||||
#define MAX_STACKDEPTH 25
|
#define MAX_STACKDEPTH 25
|
||||||
|
|
||||||
#define OFLAG (O_CREAT | O_RDWR)
|
|
||||||
#define SEMMODE 0660
|
|
||||||
#define SEMVALUE 1
|
|
||||||
#define SEMVALUE_LOCKED 0
|
|
||||||
|
|
||||||
lxc_log_define(lxc_lock, lxc);
|
lxc_log_define(lxc_lock, lxc);
|
||||||
|
|
||||||
#ifdef MUTEX_DEBUGGING
|
#ifdef MUTEX_DEBUGGING
|
||||||
@ -65,7 +60,7 @@ static inline void dump_stacktrace(void)
|
|||||||
for (i = 0; i < size; i++)
|
for (i = 0; i < size; i++)
|
||||||
fprintf(stderr, "\t\t%s\n", strings[i]);
|
fprintf(stderr, "\t\t%s\n", strings[i]);
|
||||||
|
|
||||||
free (strings);
|
free(strings);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static pthread_mutex_t thread_mutex = PTHREAD_MUTEX_INITIALIZER;
|
static pthread_mutex_t thread_mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||||
|
Loading…
Reference in New Issue
Block a user