#include <string.h>
#include <glib.h>
#include <sigrok.h>
+#include <sigrok-internal.h>
/* The list of loaded plugins lives here. */
GSList *plugins;
if (sdi->index == device_index)
return sdi;
}
- g_warning("could not find device index %d instance", device_index);
+ sr_warn("could not find device index %d instance", device_index);
return NULL;
}