This fixes the following build issue on OSX:
Undefined symbols for architecture x86_64:
"_sr_drivers_init", referenced from:
_sr_init in backend.o
This closes bug #802.
*
* @param ctx Pointer to a libsigrok context struct. Must not be NULL.
*/
-SR_PRIV void sr_drivers_init(struct sr_context *ctx)
+SR_API void sr_drivers_init(struct sr_context *ctx)
{
struct sr_dev_driver **drivers;
GArray *array;
#define SR_REGISTER_DEV_DRIVER(name) \
SR_REGISTER_DEV_DRIVER_LIST(name##_list, &name);
-SR_PRIV void sr_drivers_init(struct sr_context *context);
+SR_API void sr_drivers_init(struct sr_context *context);
struct sr_context {
struct sr_dev_driver **driver_list;