mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
move jansson files from client
This commit is contained in:
parent
26f7f07120
commit
f856087aa9
5 changed files with 4 additions and 6 deletions
|
@ -283,7 +283,6 @@ set (TARGET_SOURCES
|
||||||
${PM3_ROOT}/client/src/fileutils.c
|
${PM3_ROOT}/client/src/fileutils.c
|
||||||
${PM3_ROOT}/client/src/flash.c
|
${PM3_ROOT}/client/src/flash.c
|
||||||
${PM3_ROOT}/client/src/graph.c
|
${PM3_ROOT}/client/src/graph.c
|
||||||
${PM3_ROOT}/client/src/jansson_path.c
|
|
||||||
${PM3_ROOT}/client/src/preferences.c
|
${PM3_ROOT}/client/src/preferences.c
|
||||||
${PM3_ROOT}/client/src/pm3_binlib.c
|
${PM3_ROOT}/client/src/pm3_binlib.c
|
||||||
${PM3_ROOT}/client/src/pm3_bitlib.c
|
${PM3_ROOT}/client/src/pm3_bitlib.c
|
||||||
|
|
|
@ -272,6 +272,7 @@ PM3CFLAGS = $(CFLAGS)
|
||||||
PM3CFLAGS += -I./src -I../include -I../common -I../common_fpga $(INCLUDES)
|
PM3CFLAGS += -I./src -I../include -I../common -I../common_fpga $(INCLUDES)
|
||||||
# WIP Testing
|
# WIP Testing
|
||||||
#PM3CFLAGS += -std=c11 -pedantic
|
#PM3CFLAGS += -std=c11 -pedantic
|
||||||
|
PM3CFLAGS += -g
|
||||||
|
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
ifneq (,$(findstring MINGW,$(platform)))
|
ifneq (,$(findstring MINGW,$(platform)))
|
||||||
|
@ -505,7 +506,6 @@ SRCS = aidsearch.c \
|
||||||
flash.c \
|
flash.c \
|
||||||
generator.c \
|
generator.c \
|
||||||
graph.c \
|
graph.c \
|
||||||
jansson_path.c \
|
|
||||||
loclass/cipher.c \
|
loclass/cipher.c \
|
||||||
loclass/cipherutils.c \
|
loclass/cipherutils.c \
|
||||||
loclass/elite_crack.c \
|
loclass/elite_crack.c \
|
||||||
|
|
|
@ -13,7 +13,8 @@ MYSRCS = \
|
||||||
strbuffer.c \
|
strbuffer.c \
|
||||||
strconv.c \
|
strconv.c \
|
||||||
utf.c \
|
utf.c \
|
||||||
value.c
|
value.c \
|
||||||
|
jansson_path.c
|
||||||
|
|
||||||
LIB_A = libjansson.a
|
LIB_A = libjansson.a
|
||||||
|
|
||||||
|
|
|
@ -38,9 +38,7 @@ static void jsonp_free(void *ptr) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *jsonp_strndup(const char *str, size_t len) {
|
static char *jsonp_strndup(const char *str, size_t len) {
|
||||||
char *new_str;
|
char *new_str = jsonp_malloc(len + 1);
|
||||||
|
|
||||||
new_str = jsonp_malloc(len + 1);
|
|
||||||
if (!new_str)
|
if (!new_str)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue