#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.
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);