diff options
Diffstat (limited to 'cpukit/libmisc/serdbg/termios_printk.h')
-rw-r--r-- | cpukit/libmisc/serdbg/termios_printk.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/libmisc/serdbg/termios_printk.h b/cpukit/libmisc/serdbg/termios_printk.h index d3a3703b11..7392991753 100644 --- a/cpukit/libmisc/serdbg/termios_printk.h +++ b/cpukit/libmisc/serdbg/termios_printk.h @@ -25,6 +25,10 @@ #include <rtems.h> #include <termios.h> +#ifdef __cplusplus +extern "C" { +#endif + typedef struct { uint32_t baudrate; /* debug baud rate, e.g. 57600 */ void (*callout)(void); /* callout pointer during polling */ @@ -92,4 +96,9 @@ int termios_printk_open | Return Value: | | 0 on success, -1 and errno otherwise | \*=========================================================================*/ + +#ifdef __cplusplus +} +#endif + #endif /* _TERMIOS_PRINTK_H */ |