diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-06-22 18:32:27 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-06-22 18:32:27 +0200 |
commit | e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55 (patch) | |
tree | ea63b9499de4abbf7e09c3b6a6952786740be577 /pcilib/bar.h | |
parent | 87583e6ec5c1961ef975b873041eeada3e1e6c6d (diff) | |
download | pcitool-e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55.tar.gz pcitool-e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55.tar.bz2 pcitool-e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55.tar.xz pcitool-e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55.zip |
Keep C++ compilers happy
Diffstat (limited to 'pcilib/bar.h')
-rw-r--r-- | pcilib/bar.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pcilib/bar.h b/pcilib/bar.h index 9680fc1..9ab1cc0 100644 --- a/pcilib/bar.h +++ b/pcilib/bar.h @@ -1,7 +1,16 @@ #ifndef _PCILIB_BAR_H #define _PCILIB_BAR_H +#ifdef __cplusplus +extern "C" { +#endif + pcilib_bar_t pcilib_detect_bar(pcilib_t *ctx, uintptr_t addr, size_t size); int pcilib_detect_address(pcilib_t *ctx, pcilib_bar_t *bar, uintptr_t *addr, size_t size); + +#ifdef __cplusplus +} +#endif + #endif /* _PCILIB_BAR_H */ |