From: Bert Vermeulen Date: Fri, 25 Jan 2013 14:38:57 +0000 (+0100) Subject: Rename sr_dev_config_set() to sr_config_set() X-Git-Tag: dsupstream~306 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=358d050d7a2a1729d8200eaa8ffc16318e47958b;p=libsigrok.git Rename sr_dev_config_set() to sr_config_set() --- diff --git a/device.c b/device.c index 0c38c119..75c20289 100644 --- a/device.c +++ b/device.c @@ -329,7 +329,7 @@ SR_PRIV void sr_serial_dev_inst_free(struct sr_serial_dev_inst *serial) } -SR_API int sr_dev_config_set(const struct sr_dev_inst *sdi, int hwcap, +SR_API int sr_config_set(const struct sr_dev_inst *sdi, int hwcap, const void *value) { int ret; diff --git a/proto.h b/proto.h index 667b6ecc..12bbbeaf 100644 --- a/proto.h +++ b/proto.h @@ -52,7 +52,7 @@ SR_API int sr_dev_probe_enable(const struct sr_dev_inst *sdi, int probenum, SR_API int sr_dev_trigger_set(const struct sr_dev_inst *sdi, int probenum, const char *trigger); SR_API gboolean sr_dev_has_hwcap(const struct sr_dev_inst *sdi, int hwcap); -SR_API int sr_dev_config_set(const struct sr_dev_inst *sdi, int hwcap, +SR_API int sr_config_set(const struct sr_dev_inst *sdi, int hwcap, const void *value); SR_API GSList *sr_dev_inst_list(const struct sr_dev_driver *driver); SR_API int sr_dev_inst_clear(const struct sr_dev_driver *driver);