]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/openbench-logic-sniffer/protocol.h
Remove unneeded explicit array size specification.
[libsigrok.git] / src / hardware / openbench-logic-sniffer / protocol.h
index d95ddae2ed8d2394443e07e713662b881e0e1ef4..e75245d4b9d993b4c164a0e64948282f56132480 100644 (file)
@@ -101,7 +101,7 @@ struct dev_context {
        unsigned char *raw_sample_buf;
 };
 
-SR_PRIV extern const char *ols_channel_names[NUM_CHANNELS + 1];
+SR_PRIV extern const char *ols_channel_names[];
 
 SR_PRIV int send_shortcommand(struct sr_serial_dev_inst *serial,
                uint8_t command);