Skip to content

Commit af57038

Browse files
jeffwelder-ellenbytechaescolar
authored andcommitted
modem: pipelink: Add missing extern C in header
<zephyr/modem/pipelink.h> was missing "extern C" statement. Signed-off-by: Jeff Welder <Jeff.Welder@ellenbytech.com>
1 parent e5c05da commit af57038

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)