summaryrefslogtreecommitdiffstats
path: root/pcilib/env.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/env.h')
-rw-r--r--pcilib/env.h8
1 files changed, 8 insertions, 0 deletions
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 */