diff options
Diffstat (limited to 'lib/string.h')
-rw-r--r-- | lib/string.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/string.h b/lib/string.h index 1eb3da2..460057c 100644 --- a/lib/string.h +++ b/lib/string.h @@ -4,6 +4,9 @@ #define DECIMAL 10 #define HEX 16 +#ifdef __cplusplus +extern "C" { +#endif /** * Convert int into a string */ @@ -12,3 +15,6 @@ char *itoa(char *p, int x, int base); * Convert unsigned int into a string */ char *utoa(char *p, unsigned x, int base); +#ifdef __cplusplus +} +#endif |