From 026c822d8c6d39a2b0e976b02c16bb991431700b Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 19 Oct 2012 10:35:11 +0200 Subject: [PATCH] Move 'struct drv_context' to sigrok-internal.h. It's not meant to be visible to frontends. --- libsigrok-internal.h | 5 +++++ libsigrok.h | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libsigrok-internal.h b/libsigrok-internal.h index 2cb8fe4e..2a8503ab 100644 --- a/libsigrok-internal.h +++ b/libsigrok-internal.h @@ -61,6 +61,11 @@ struct sr_serial_dev_inst { int fd; }; +/* Private driver context. */ +struct drv_context { + GSList *instances; +}; + /*--- log.c -----------------------------------------------------------------*/ SR_PRIV int sr_log(int loglevel, const char *format, ...); diff --git a/libsigrok.h b/libsigrok.h index 9ee524d9..3771e1ee 100644 --- a/libsigrok.h +++ b/libsigrok.h @@ -560,11 +560,6 @@ struct sr_dev_driver { void *priv; }; -/* Private driver context. */ -struct drv_context { - GSList *instances; -}; - struct sr_session { /* List of struct sr_dev* */ GSList *devs;