};
/* FIXME: Should not be global. */
-GIOChannel *channels[2];
+static GIOChannel *channels[2];
struct databag {
int pipe_fds[2];
thread_running = 0;
}
-struct sr_device_plugin demo_plugin_info = {
+SR_PRIV struct sr_device_plugin demo_plugin_info = {
.name = "demo",
.longname = "Demo driver and pattern generator",
.api_version = 1,