From: Uwe Hermann Date: Tue, 18 May 2010 22:23:27 +0000 (+0200) Subject: skeleton.c: Update to latest prototypes. X-Git-Tag: libsigrok-0.1.0~495 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=5013f07422b5a62386f68d1663011d5ba885f1ef;p=libsigrok.git skeleton.c: Update to latest prototypes. --- diff --git a/hardware/common/skeleton.c b/hardware/common/skeleton.c index 43662666..ad2698f6 100644 --- a/hardware/common/skeleton.c +++ b/hardware/common/skeleton.c @@ -35,11 +35,7 @@ static void hw_cleanup(void) { } -static char *hw_get_identifier(int device_index) -{ -} - -static char *hw_get_device_info(int device_index, int device_info_id) +static void *hw_get_device_info(int device_index, int device_info_id) { } @@ -51,7 +47,7 @@ static int *hw_get_capabilities(void) { } -static int hw_set_configuration(int device_index, int capability, char *value) +static int hw_set_configuration(int device_index, int capability, void *value) { }