From: Uwe Hermann Date: Wed, 24 Oct 2012 10:14:02 +0000 (+0200) Subject: new-driver: Add missing "${lib}_" in api.c. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=2ef7b331cd4468e128c823cc7a055bdef97ee33b;p=sigrok-util.git new-driver: Add missing "${lib}_" in api.c. This fixes the build for the generated drivers. --- diff --git a/source/drv-api.c b/source/drv-api.c index 671149b..dbeea02 100644 --- a/source/drv-api.c +++ b/source/drv-api.c @@ -22,7 +22,7 @@ #include "libsigrok-internal.h" #include "protocol.h" -SR_PRIV struct sr_dev_driver driver_info; +SR_PRIV struct sr_dev_driver ${lib}_driver_info; static struct sr_dev_driver *di = &${lib}_driver_info; /* Properly close and free all devices. */