projects
/
platform
/
core
/
api
/
device.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6057790
)
Add extern C macro for C++
63/269663/1
author
Hyotaek Shim
<hyotaek.shim@samsung.com>
Thu, 20 Jan 2022 02:22:06 +0000
(11:22 +0900)
committer
Hyotaek Shim
<hyotaek.shim@samsung.com>
Thu, 20 Jan 2022 02:22:06 +0000
(11:22 +0900)
Change-Id: Ic1909914498b99e30565e34f0efe44f2de578e14
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
include/board-internal.h
patch
|
blob
|
history
diff --git
a/include/board-internal.h
b/include/board-internal.h
index
d726efa
..
d094e04
100644
(file)
--- a/
include/board-internal.h
+++ b/
include/board-internal.h
@@
-1,8
+1,14
@@
#ifndef __BOARD_INTERNAL_H__
#define __BOARD_INTERNAL_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int device_board_get_serial_number(char *buffer, int buffer_max);
int device_board_get_boot_reason(char *buffer, int len);
+#ifdef __cplusplus
+}
+#endif
#endif
-