]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/baylibre-acme/protocol.c
Constify a lot more items.
[libsigrok.git] / src / hardware / baylibre-acme / protocol.c
index becd68517cb215f66205b657c30fe2e788ed7852..6726667ed78d3d29888d4d4bb8ed927de8608de6 100644 (file)
@@ -651,7 +651,8 @@ static float read_sample(struct sr_channel *ch)
 SR_PRIV int bl_acme_open_channel(struct sr_channel *ch)
 {
        struct channel_priv *chp;
-       char path[64], *file;
+       char path[64];
+       const char *file;
        int fd;
 
        chp = ch->priv;