[XS] Change in osmo-ccid-firmware[master]: ccid_hosts: fix missing talloc_report_full
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/41181?usp=email ) Change subject: ccid_hosts: fix missing talloc_report_full ...................................................................... ccid_hosts: fix missing talloc_report_full Fix for: ccid_main_functionfs.c:534:17: error: implicit declaration of function 'talloc_report_full' [-Wimplicit-function-declaration] 534 | talloc_report_full(g_tall_ctx, stderr); Change-Id: I2b79d6f28e80acef8e1cab0dab949233698336ad --- M ccid_host/Makefile M ccid_host/ccid_main_functionfs.c M ccid_host/cuart_fsm_test.c M ccid_host/hub_main_functionfs.c 4 files changed, 5 insertions(+), 0 deletions(-) Approvals: osmith: Looks good to me, approved Jenkins Builder: Verified diff --git a/ccid_host/Makefile b/ccid_host/Makefile index b117232..718377a 100644 --- a/ccid_host/Makefile +++ b/ccid_host/Makefile @@ -1,12 +1,14 @@ CFLAGS= \ -Wall \ -g \ + $(shell pkg-config --cflags talloc) \ $(shell pkg-config --cflags libosmocore) \ -I../ccid_common \ -I. \ $(NULL) LIBS?= \ -lasan \ + $(shell pkg-config --libs talloc) \ $(shell pkg-config --libs libosmocore) \ $(NULL) diff --git a/ccid_host/ccid_main_functionfs.c b/ccid_host/ccid_main_functionfs.c index dd1e274..1764900 100644 --- a/ccid_host/ccid_main_functionfs.c +++ b/ccid_host/ccid_main_functionfs.c @@ -24,6 +24,7 @@ #include <signal.h> #include <sys/types.h> #include <linux/usb/functionfs.h> +#include <talloc.h> #include "ccid_proto.h" #include "logging.h" diff --git a/ccid_host/cuart_fsm_test.c b/ccid_host/cuart_fsm_test.c index 001f8e7..900c90c 100644 --- a/ccid_host/cuart_fsm_test.c +++ b/ccid_host/cuart_fsm_test.c @@ -22,6 +22,7 @@ #include <stdio.h> #include <errno.h> #include <signal.h> +#include <talloc.h> #include <osmocom/core/utils.h> #include <osmocom/core/logging.h> #include <osmocom/core/application.h> diff --git a/ccid_host/hub_main_functionfs.c b/ccid_host/hub_main_functionfs.c index 6d31243..201e29e 100644 --- a/ccid_host/hub_main_functionfs.c +++ b/ccid_host/hub_main_functionfs.c @@ -25,6 +25,7 @@ #include <sys/types.h> #include <linux/usb/functionfs.h> #include <linux/usb/ch11.h> +#include <talloc.h> #if __BYTE_ORDER == __LITTLE_ENDIAN #define cpu_to_le16(x) (x) -- To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/41181?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ccid-firmware Gerrit-Branch: master Gerrit-Change-Id: I2b79d6f28e80acef8e1cab0dab949233698336ad Gerrit-Change-Number: 41181 Gerrit-PatchSet: 2 Gerrit-Owner: osmith <osmith@sysmocom.de> Gerrit-Reviewer: Hoernchen <ewild@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: osmith <osmith@sysmocom.de>
participants (1)
-
osmith