]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
remove the unused macro 1666/head
author0x0916 <w@laoqinren.net>
Sun, 2 Jul 2017 11:45:41 +0000 (19:45 +0800)
committerLong Wang <w@laoqinren.net>
Sun, 2 Jul 2017 14:17:01 +0000 (22:17 +0800)
Signed-off-by: Long Wang <w@laoqinren.net>
src/lxc/lxclock.c

index e9e95f7a01d924f824c9a127cd624802c6ed5265..393eec0a97fb13304351eb17918a35d2723bdbea 100644 (file)
 
 #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;