mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 05:38:33 +03:00
Introudce an include_libosmocore directory and move (updated) linuxlist there
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include "card_emu.h"
|
||||
#include "iso7816_fidi.h"
|
||||
#include "utils.h"
|
||||
#include "linuxlist.h"
|
||||
#include "osmocom/core/linuxlist.h"
|
||||
#include "llist_irqsafe.h"
|
||||
#include "req_ctx.h"
|
||||
#include "cardemu_prot.h"
|
||||
@@ -430,17 +430,6 @@ void mode_cardemu_exit(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
static int llist_count(struct llist_head *head)
|
||||
{
|
||||
struct llist_head *list;
|
||||
int i = 0;
|
||||
|
||||
llist_for_each(list, head)
|
||||
i++;
|
||||
|
||||
return i;
|
||||
}
|
||||
|
||||
/* handle a single USB command as received from the USB host */
|
||||
static void dispatch_usb_command(struct req_ctx *rctx, struct cardem_inst *ci)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user