2019-03-25 | Paul Boddie | raw files shortlog changelog graph | Added "extern C" markers. | |
format.h (file) |
1.1 --- a/format.h Mon Mar 25 22:11:52 2019 +0100 1.2 +++ b/format.h Mon Mar 25 22:16:18 2019 +0100 1.3 @@ -24,6 +24,14 @@ 1.4 1.5 #include <stdint.h> 1.6 1.7 +#ifdef __cplusplus 1.8 +extern "C" { 1.9 +#endif 1.10 + 1.11 char *get_permission_string(uint16_t permissions); 1.12 1.13 +#ifdef __cplusplus 1.14 +} 1.15 +#endif 1.16 + 1.17 #endif /* __FORMAT_H__ */