--- trunk/OOPSE-4/src/utils/physmem.h 2005/02/14 23:26:25 2023 +++ trunk/OOPSE-4/src/utils/physmem.h 2005/02/15 05:05:33 2024 @@ -1,11 +1,18 @@ #ifndef UTILS_PHYSMEM_H #define UTILS_PHYSMEM_H +#ifdef __cplusplus extern "C" { +#endif + /** Return the total amount of physical memory. */ double physmem_total (); /** Return the amount of physical memory available. */ double physmem_available (); + +#ifdef __cplusplus } #endif + +#endif