Add C++ include guards

This commit is contained in:
Laurence Withers 2014-07-05 11:05:34 +00:00
parent 7dc73bee8a
commit 77a526388d
2 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,10 @@
/* standard includes, or includes needed for type declarations */ /* standard includes, or includes needed for type declarations */
#include <complex.h> #include <complex.h>
#ifdef __cplusplus
extern "C" {
#endif
/* options for text editors /* options for text editors
vim: expandtab:ts=4:sw=4:syntax=c.doxygen vim: expandtab:ts=4:sw=4:syntax=c.doxygen
*/ */

View File

@ -5,6 +5,10 @@
* License: GPLv3 * License: GPLv3
*/ */
#ifdef __cplusplus
}
#endif
#endif #endif
/* options for text editors /* options for text editors