From: 0x0916 Date: Sun, 2 Jul 2017 11:45:41 +0000 (+0800) Subject: remove the unused macro X-Git-Tag: lxc-2.1.0~72^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1666%2Fhead;p=thirdparty%2Flxc.git remove the unused macro Signed-off-by: Long Wang --- diff --git a/src/lxc/lxclock.c b/src/lxc/lxclock.c index e9e95f7a0..393eec0a9 100644 --- a/src/lxc/lxclock.c +++ b/src/lxc/lxclock.c @@ -39,11 +39,6 @@ #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); #ifdef MUTEX_DEBUGGING @@ -65,7 +60,7 @@ static inline void dump_stacktrace(void) for (i = 0; i < size; i++) fprintf(stderr, "\t\t%s\n", strings[i]); - free (strings); + free(strings); } #else static pthread_mutex_t thread_mutex = PTHREAD_MUTEX_INITIALIZER;