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/env.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pcilib/env.h') diff --git a/pcilib/env.h b/pcilib/env.h index 4fd40f1..7cf69b9 100644 --- a/pcilib/env.h +++ b/pcilib/env.h @@ -7,6 +7,14 @@ typedef enum { PCILIB_MAX_ENV } pcilib_env_t; +#ifdef __cplusplus +extern "C" { +#endif + const char *pcilib_getenv(pcilib_env_t env, const char *var); +#ifdef __cplusplus +} +#endif + #endif /* _PCILIB_ENV_H */ -- cgit v1.2.3