From d260b2c469621ad1fd4e2a3694180365851c8cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 26 May 2005 09:08:54 +0000 Subject: [PATCH] Made the header C++ safe. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12829 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/console.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/headers/private/kernel/console.h b/headers/private/kernel/console.h index 49e007a950..b3cad2b9a6 100644 --- a/headers/private/kernel/console.h +++ b/headers/private/kernel/console.h @@ -27,8 +27,16 @@ typedef struct { } console_module_info; +#ifdef __cplusplus +extern "C" { +#endif + int con_init(struct kernel_args *args); void kprintf(const char *fmt, ...) __PRINTFLIKE(1,2); void kprintf_xy(int x, int y, const char *fmt, ...) __PRINTFLIKE(3,4); +#ifdef __cplusplus +} +#endif + #endif /* _KERNEL_CONSOLE_H */