Unverified Commit 11a74d84 by 0x0916 Committed by Stéphane Graber

remove the unused macro

Signed-off-by: 's avatarLong Wang <w@laoqinren.net>
parent 27c08a00
...@@ -39,11 +39,6 @@ ...@@ -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) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment