X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fdemo%2Fdemo.c;h=e2cbe30de6eeeb8e3a27400762356c2b8255f496;hb=ca070ed9a0237e5cea10e5dd974e06da62de890d;hp=05f19e1d2a81390c50c7afb272d826058c568cba;hpb=185ae2c5c9ada0353b43e3736e838bbc8e370cb4;p=libsigrok.git diff --git a/hardware/demo/demo.c b/hardware/demo/demo.c index 05f19e1d..e2cbe30d 100644 --- a/hardware/demo/demo.c +++ b/hardware/demo/demo.c @@ -64,7 +64,7 @@ enum { }; /* FIXME: Should not be global. */ -GIOChannel *channels[2]; +static GIOChannel *channels[2]; struct databag { int pipe_fds[2]; @@ -487,7 +487,7 @@ static void hw_stop_acquisition(int device_index, gpointer session_data) 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,