summaryrefslogtreecommitdiffstats
path: root/protocols/default.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-04-27 01:54:44 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-04-27 01:54:44 +0200
commit8d3ad26d8331c43659d0d4e77e8a50fbc3cfc1e4 (patch)
tree30c74c76115279cdc15437a07fabd8347ac1fdfd /protocols/default.h
parentdcd8ad63316eac672492bc18112bbbb52811c3fc (diff)
downloadpcitool-8d3ad26d8331c43659d0d4e77e8a50fbc3cfc1e4.tar.gz
pcitool-8d3ad26d8331c43659d0d4e77e8a50fbc3cfc1e4.tar.bz2
pcitool-8d3ad26d8331c43659d0d4e77e8a50fbc3cfc1e4.tar.xz
pcitool-8d3ad26d8331c43659d0d4e77e8a50fbc3cfc1e4.zip
Further adjustments to get ready for independent event plugins
Diffstat (limited to 'protocols/default.h')
-rw-r--r--protocols/default.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/default.h b/protocols/default.h
index f535550..6201176 100644
--- a/protocols/default.h
+++ b/protocols/default.h
@@ -7,9 +7,9 @@
int pcilib_default_read(pcilib_t *ctx, pcilib_register_bank_context_t *bank, pcilib_register_addr_t addr, pcilib_register_value_t *value);
int pcilib_default_write(pcilib_t *ctx, pcilib_register_bank_context_t *bank, pcilib_register_addr_t addr, pcilib_register_value_t value);
-#ifdef _PCILIB_CONFIG_C
+#ifdef _PCILIB_EXPORT_C
const pcilib_register_protocol_api_description_t pcilib_default_protocol_api =
{ NULL, NULL, pcilib_default_read, pcilib_default_write };
-#endif /* _PCILIB_CONFIG_C */
+#endif /* _PCILIB_EXPORT_C */
#endif /* _PCILIB_DEFAULT_H */