kernel: add c++ support

This commit is contained in:
2023-03-20 20:41:39 +00:00
parent a4d850cc03
commit 2bfb6bcd78
41 changed files with 333 additions and 38 deletions

View File

@@ -3,7 +3,15 @@
#include <socks/console.h>
#ifdef __cplusplus
extern "C" {
#endif
extern void early_printk_init(console_t *con);
extern int printk(const char *format, ...);
#ifdef __cplusplus
}
#endif
#endif