X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fcommon%2Fskeleton.c;h=352c4eabbe915a5d2b96124d9dba5ff5f1e7a0c1;hb=54ac5277c5e462f1778300b9bc3fdd4709ecb2dc;hp=e5e1372a95b308089fa8fb68b18e31fba79d23bb;hpb=9f8274a544865838f880c4849c28b6129141cf99;p=libsigrok.git diff --git a/hardware/common/skeleton.c b/hardware/common/skeleton.c index e5e1372a..352c4eab 100644 --- a/hardware/common/skeleton.c +++ b/hardware/common/skeleton.c @@ -19,7 +19,7 @@ #include -static int hw_init(char *deviceinfo) +static int hw_init(const char *deviceinfo) { } @@ -59,7 +59,7 @@ static void hw_stop_acquisition(int device_index, gpointer session_device_id) { } -struct device_plugin skeleton_plugin_info = { +struct sr_device_plugin skeleton_plugin_info = { "skeleton", "Skeleton driver", 1,