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,