From: Uwe Hermann Date: Sun, 20 Feb 2011 12:24:26 +0000 (+0100) Subject: Add sr_ prefix to list_hwplugins(). X-Git-Tag: libsigrok-0.1.0~324 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ee4b6342afe8e42c0be481109b9b97e27cbb846a;p=libsigrok.git Add sr_ prefix to list_hwplugins(). --- diff --git a/device.c b/device.c index 04d463c1..bf87e811 100644 --- a/device.c +++ b/device.c @@ -30,7 +30,7 @@ void sr_device_scan(void) GSList *plugins, *l; struct sr_device_plugin *plugin; - plugins = list_hwplugins(); + plugins = sr_list_hwplugins(); /* * Initialize all plugins first. Since the init() call may involve diff --git a/hwplugin.c b/hwplugin.c index 554dc5df..c90259c1 100644 --- a/hwplugin.c +++ b/hwplugin.c @@ -95,7 +95,7 @@ int load_hwplugins(void) return SR_OK; } -GSList *list_hwplugins(void) +GSList *sr_list_hwplugins(void) { return plugins; } diff --git a/sigrok-proto.h b/sigrok-proto.h index 83b84adc..2b8a4858 100644 --- a/sigrok-proto.h +++ b/sigrok-proto.h @@ -62,7 +62,7 @@ int filter_probes(int in_unitsize, int out_unitsize, int *probelist, /*--- hwplugin.c ------------------------------------------------------------*/ int load_hwplugins(void); -GSList *list_hwplugins(void); +GSList *sr_list_hwplugins(void); /* Generic device instances */ struct sr_device_instance *sr_device_instance_new(int index,