diff options
author | H. Peter Anvin <hpa@zytor.com> | 2001-10-22 07:53:38 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2001-10-22 07:53:38 +0000 |
commit | e2c07775f2cda3c25a8e2ed47fbf1f0de4d548c1 (patch) | |
tree | babe71531827f706e5edcdab055dda4f42f3373c | |
parent | 8c04e1cc0b889110b73242bded290252ec265afd (diff) | |
download | lpsm-e2c07775f2cda3c25a8e2ed47fbf1f0de4d548c1.tar.gz lpsm-e2c07775f2cda3c25a8e2ed47fbf1f0de4d548c1.tar.xz lpsm-e2c07775f2cda3c25a8e2ed47fbf1f0de4d548c1.zip |
Add extern "C" definitions for C++lpsm-0.1.3
-rw-r--r-- | lpsm.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -25,6 +25,10 @@ #include <inttypes.h> #include <sys/types.h> +#ifdef __cplusplus +extern "C" { +#endif + /* Low-level core routines */ /* When checkpointing, specify the level of synchronicity required */ @@ -69,4 +73,8 @@ extern inline void *lpsm_calloc(size_t __nmemb, size_t __size) struct lpsm_alloc_stats *lpsm_alloc_stats(void); +#ifdef __cplusplus +} +#endif + #endif /* LPSM_H */ |