Skip to content

Commit 8462487

Browse files
jeffwelder-ellenbytechChromeos LUCI
authored andcommitted
modem: pipelink: Add missing extern C in header
<zephyr/modem/pipelink.h> was missing "extern C" statement. (cherry picked from commit af57038) Original-Signed-off-by: Jeff Welder <[email protected]> GitOrigin-RevId: af57038 Change-Id: Ic5f5d0fa77462962058011f8e84a332ed065e666 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5650209 Tested-by: ChromeOS Prod (Robot) <[email protected]> Reviewed-by: Ting Shen <[email protected]> Tested-by: Ting Shen <[email protected]> Commit-Queue: Ting Shen <[email protected]>
1 parent 54f760e commit 8462487

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

include/zephyr/modem/pipelink.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
#ifndef ZEPHYR_MODEM_PIPELINK_
1212
#define ZEPHYR_MODEM_PIPELINK_
1313

14+
#ifdef __cplusplus
15+
extern "C" {
16+
#endif
17+
1418
/**
1519
* @brief Modem pipelink
1620
* @defgroup modem_pipelink Modem pipelink
@@ -157,4 +161,8 @@ void modem_pipelink_notify_disconnected(struct modem_pipelink *link);
157161

158162
/** @} */
159163

164+
#ifdef __cplusplus
165+
}
166+
#endif
167+
160168
#endif /* ZEPHYR_MODEM_PIPELINK_ */

0 commit comments

Comments
 (0)