[riot-notifications] [RIOT] C++11 compatibility (#193)

BytesGalore notifications at github.com
Fri Nov 8 13:30:35 CET 2013


> @@ -13,7 +13,13 @@
>  /**
>   * @brief   Initializes scheduler and creates main and idle task
>   */
> -void kernel_init(void);
> +#ifdef __cplusplus
> +extern "C" {
> +#endif
> +extern void kernel_init(void);
> +#ifdef __cplusplus
> +}

I encapsulated just this function as extern "C" to avoid YAGNI

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/193/files#r7525222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131108/7cc3145a/attachment.html>


More information about the notifications mailing list