]> sigrok.org Git - sigrok-cli.git/commitdiff
use constified SRD decoder list
authorBert Vermeulen <redacted>
Tue, 1 Jan 2013 11:59:33 +0000 (12:59 +0100)
committerBert Vermeulen <redacted>
Tue, 1 Jan 2013 11:59:33 +0000 (12:59 +0100)
sigrok-cli.c

index 488edc9d4b3d3ff080a77f5577e3c0771c51175d..d4a694d1334f9fc762ecefd216404b7ce5c25e2b 100644 (file)
@@ -196,7 +196,7 @@ static GSList *device_scan(void)
 
 static void show_version(void)
 {
-       GSList *l;
+       const GSList *l;
        struct sr_dev_driver **drivers;
        struct sr_input_format **inputs;
        struct sr_output_format **outputs;