chg: removed extern on print_lock mutex. Since there is two of these, in proxmark3.c and ui.c

This commit is contained in:
iceman1001
2017-08-11 11:40:25 +02:00
parent 734ca940e9
commit 6ad546fa13
3 changed files with 4 additions and 4 deletions

View File

@@ -80,6 +80,7 @@ POSTCOMPILE = $(MV) -f $(OBJDIR)/$*.Td $(OBJDIR)/$*.d
CORESRCS = uart_posix.c \
uart_win32.c \
ui.c \
util.c \
util_posix.c \
scandir.c
@@ -105,7 +106,6 @@ CMDSRCS = crapto1/crapto1.c \
iso15693tools.c \
data.c \
graph.c \
ui.c \
cmddata.c \
lfdemod.c \
cmdanalyse.c \

View File

@@ -27,7 +27,7 @@
#include "whereami.h"
// a global mutex to prevent interlaced printing from different threads
pthread_mutex_t print_lock;
extern pthread_mutex_t print_lock;
static serial_port sp;
static UsbCommand txcmd;