Move 'struct drv_context' to sigrok-internal.h.

It's not meant to be visible to frontends.
This commit is contained in:
Uwe Hermann 2012-10-19 10:35:11 +02:00
parent 7c41dc4774
commit 026c822d8c
2 changed files with 5 additions and 5 deletions

View File

@ -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, ...);

View File

@ -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;