From 5387063faa68d774e2f586e6d8284520f3cde12f Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 2 May 2015 14:45:42 +0200 Subject: Include version information in all API descriptions --- protocols/default.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/default.h b/protocols/default.h index 6201176..c3e6d06 100644 --- a/protocols/default.h +++ b/protocols/default.h @@ -2,6 +2,7 @@ #define _PCILIB_DEFAULT_H #include "pcilib.h" +#include "version.h" #include "model.h" int pcilib_default_read(pcilib_t *ctx, pcilib_register_bank_context_t *bank, pcilib_register_addr_t addr, pcilib_register_value_t *value); @@ -9,7 +10,7 @@ int pcilib_default_write(pcilib_t *ctx, pcilib_register_bank_context_t *bank, pc #ifdef _PCILIB_EXPORT_C const pcilib_register_protocol_api_description_t pcilib_default_protocol_api = - { NULL, NULL, pcilib_default_read, pcilib_default_write }; + { PCILIB_VERSION, NULL, NULL, pcilib_default_read, pcilib_default_write }; #endif /* _PCILIB_EXPORT_C */ #endif /* _PCILIB_DEFAULT_H */ -- cgit v1.2.3