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;