From 2da6dc5f936a5c50056970008b0ef9677e713ff0 Mon Sep 17 00:00:00 2001 From: Hyotaek Shim Date: Tue, 30 Mar 2021 14:44:37 +0900 Subject: [PATCH] Add extern "C" to dlog-redirect-stdout.h Change-Id: I331b3db0955909c9f6808c4096fad6da97e04b4b Signed-off-by: Hyotaek Shim --- include/dlog-redirect-stdout.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/dlog-redirect-stdout.h b/include/dlog-redirect-stdout.h index 400f07f..ec0d756 100644 --- a/include/dlog-redirect-stdout.h +++ b/include/dlog-redirect-stdout.h @@ -22,4 +22,12 @@ #pragma once +#ifdef __cplusplus +extern "C" { +#endif + int connect_dlog(int buffer, int fileno, const char *tag, int prio); + +#ifdef __cplusplus +} +#endif -- 2.7.4