summaryrefslogtreecommitdiff
path: root/src/user/include/popups
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/include/popups')
-rw-r--r--src/user/include/popups/info.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/user/include/popups/info.h b/src/user/include/popups/info.h
index 36d557a..de6be57 100644
--- a/src/user/include/popups/info.h
+++ b/src/user/include/popups/info.h
@@ -1,6 +1,10 @@
#ifndef POPUPS_INFO_H
#define POPUPS_INFO_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <popups/popup.h>
#include <pland/syscall.h>
@@ -11,4 +15,8 @@ void info_popup(struct popup *into, const char *text, _pixel_t fg, _pixel_t bg);
void info_popupf(struct popup *into, const char *text, _pixel_t fg, _pixel_t bg, ...);
void info_popupf_v(struct popup *into, const char *text, _pixel_t fg, _pixel_t bg, va_list args);
+#ifdef __cplusplus
+}
+#endif
+
#endif \ No newline at end of file