summaryrefslogtreecommitdiffstats
path: root/pcilib/model.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-06-22 18:32:27 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-06-22 18:32:27 +0200
commite2515f6e1a7b17addda4c558a0a6ca05b4ec6e55 (patch)
treeea63b9499de4abbf7e09c3b6a6952786740be577 /pcilib/model.h
parent87583e6ec5c1961ef975b873041eeada3e1e6c6d (diff)
downloadpcitool-e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55.tar.gz
pcitool-e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55.tar.bz2
pcitool-e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55.tar.xz
pcitool-e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55.zip
Keep C++ compilers happy
Diffstat (limited to 'pcilib/model.h')
-rw-r--r--pcilib/model.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pcilib/model.h b/pcilib/model.h
index ab55adc..660c363 100644
--- a/pcilib/model.h
+++ b/pcilib/model.h
@@ -27,6 +27,14 @@ typedef struct {
} pcilib_model_description_t;
+#ifdef __cplusplus
+extern "C" {
+#endif
+
const pcilib_model_description_t *pcilib_get_model_description(pcilib_t *ctx);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _PCILIB_MODEL_H */