From e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 22 Jun 2015 18:32:27 +0200 Subject: Keep C++ compilers happy --- pcilib/debug.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pcilib/debug.h') 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 */ -- cgit v1.2.3