diff options
Diffstat (limited to 'printbuf.h')
-rw-r--r-- | printbuf.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -12,6 +12,10 @@ #ifndef _printbuf_h_ #define _printbuf_h_ +#ifdef __cplusplus +extern "C" { +#endif + #undef PRINTBUF_DEBUG struct printbuf { @@ -35,4 +39,8 @@ printbuf_reset(struct printbuf *p); extern void printbuf_free(struct printbuf *p); +#ifdef __cplusplus +} +#endif + #endif |