projects
/
sigrok-util.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3f6a56
)
new-driver: Add missing "${lib}_" in api.c.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Wed, 24 Oct 2012 10:14:02 +0000
(12:14 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Wed, 24 Oct 2012 10:14:02 +0000
(12:14 +0200)
This fixes the build for the generated drivers.
source/drv-api.c
patch
|
blob
|
history
diff --git
a/source/drv-api.c
b/source/drv-api.c
index 671149bd6fa4230d1d88de29632df177760540e6..dbeea02fc826207e771ed104d85f84228202362c 100644
(file)
--- 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. */