diff options
Diffstat (limited to 'src/user/include/libterm')
-rw-r--r-- | src/user/include/libterm/terminal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/user/include/libterm/terminal.h b/src/user/include/libterm/terminal.h index 40536e0..a069a22 100644 --- a/src/user/include/libterm/terminal.h +++ b/src/user/include/libterm/terminal.h @@ -1,6 +1,10 @@ #ifndef LIBTERM_TERMINAL_H #define LIBTERM_TERMINAL_H +#ifdef __cplusplus +extern "C" { +#endif + #include <pland/syscall.h> #include <stdarg.h> @@ -32,4 +36,8 @@ void term_addf(const char *fmt, ...); struct key_packet term_get_key_blocking(); +#ifdef __cplusplus +} +#endif + #endif
\ No newline at end of file |