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/debug.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/debug.h')
-rw-r--r-- | pcilib/debug.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pcilib/debug.h b/pcilib/debug.h index ec10467..bc68e1c 100644 --- a/pcilib/debug.h +++ b/pcilib/debug.h @@ -40,8 +40,18 @@ typedef enum { PCILIB_DEBUG_BUFFER_MKDIR = 2 } pcilib_debug_buffer_flags_t; + +#ifdef __cplusplus +extern "C" { +#endif + void pcilib_debug_message(const char *function, const char *file, int line, pcilib_log_flags_t flags, const char *format, ...); void pcilib_debug_data_buffer(const char *function, size_t size, void *buffer, pcilib_debug_buffer_flags_t flags, const char *file, ...); +#ifdef __cplusplus +} +#endif + + #endif /* _PCILIB_DEBUG_H */ |