summaryrefslogtreecommitdiff
path: root/src/user/include/libterm/terminal.h
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2021-06-21 17:47:13 -0400
committerBenji Dial <benji6283@gmail.com>2021-06-21 17:47:13 -0400
commitf57e2eabe0a10c9732c83532e01654a499fb8dcf (patch)
treecbf91a23fcdd65e0ea7ed55b0940ca7042d59bef /src/user/include/libterm/terminal.h
parent83835306d57461205a7bcfef9f4c3e06bc504006 (diff)
downloadportland-os-f57e2eabe0a10c9732c83532e01654a499fb8dcf.tar.gz
many, many changes; settings is broken
Diffstat (limited to 'src/user/include/libterm/terminal.h')
-rw-r--r--src/user/include/libterm/terminal.h8
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