]> sigrok.org Git - libsigrok.git/blobdiff - strutil.c
sr: fx2lafw: Add basic support for USBee DX and clones
[libsigrok.git] / strutil.c
index 26296cea21419aee00f784e18fbefcf02b2a55be..7c346a006c21606f9076154c0fe94643fc6750c9 100644 (file)
--- a/strutil.c
+++ b/strutil.c
@@ -21,8 +21,8 @@
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
-#include "sigrok.h"
-#include "sigrok-internal.h"
+#include "libsigrok.h"
+#include "libsigrok-internal.h"
 
 /**
  * Convert a numeric samplerate value to its "natural" string representation.
@@ -176,7 +176,8 @@ SR_API char **sr_parse_triggerstring(struct sr_dev *dev,
        GSList *l;
        struct sr_probe *probe;
        int max_probes, probenum, i;
-       char **tokens, **triggerlist, *trigger, *tc, *trigger_types;
+       char **tokens, **triggerlist, *trigger, *tc;
+       const char *trigger_types;
        gboolean error;
 
        max_probes = g_slist_length(dev->probes);