From: Uwe Hermann Date: Fri, 19 Oct 2012 08:35:11 +0000 (+0200) Subject: Move 'struct drv_context' to sigrok-internal.h. X-Git-Tag: dsupstream~654 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=026c822d8c6d39a2b0e976b02c16bb991431700b;p=libsigrok.git Move 'struct drv_context' to sigrok-internal.h. It's not meant to be visible to frontends. --- 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;