diff options
Diffstat (limited to 'src/user/include/knob')
-rw-r--r-- | src/user/include/knob/format.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/user/include/knob/format.h b/src/user/include/knob/format.h index fed31c7..6ce7aad 100644 --- a/src/user/include/knob/format.h +++ b/src/user/include/knob/format.h @@ -1,6 +1,10 @@ #ifndef KNOB_FORMAT_H #define KNOB_FORMAT_H +#ifdef __cplusplus +extern "C" { +#endif + #include <knob/heap.h> #include <stdint.h> @@ -26,4 +30,8 @@ uint32_t try_swtou(const char *from, uint32_t *i_out); //returns 0 on failure uint32_t try_swtoh(const char *from, uint32_t *i_out); +#ifdef __cplusplus +} +#endif + #endif
\ No newline at end of file |