Skip to content

Commit 4e22864

Browse files
pascal-nordicrlubos
authored andcommitted
include: net: Include missing brackets
Missing brackets were reported by a customer through DevZone when trying to compile his project in C++. Devzone ticket: 351769 Signed-off-by: Pascal Hernandez <[email protected]>
1 parent 7c3a0c0 commit 4e22864

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,11 @@ Multiprotocol Service Layer libraries
642642
Libraries for networking
643643
------------------------
644644

645+
* Added missing brackets that caused C++ compilation to fail in the following libraries:
646+
647+
* :ref:`lib_nrf_cloud_pgps`
648+
* :ref:`lib_nrf_cloud_fota`
649+
645650
* Updated the following libraries to use the new ``SEC_TAG_TLS_INVALID`` definition for checking whether a security tag is valid:
646651

647652
* :ref:`lib_aws_fota`

include/net/nrf_cloud_fota_poll.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ int nrf_cloud_fota_poll_update_apply(struct nrf_cloud_fota_poll_ctx *ctx);
152152
/** @} */
153153

154154
#ifdef __cplusplus
155+
}
155156
#endif
156157

157158
#endif /* NRF_CLOUD_FOTA_POLL_H_ */

include/net/nrf_cloud_pgps.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ int nrf_cloud_pgps_init(struct nrf_cloud_pgps_init_param *param);
369369
/** @} */
370370

371371
#ifdef __cplusplus
372+
}
372373
#endif
373374

374375
#endif /* NRF_CLOUD_PGPS_H_ */

0 commit comments

Comments
 (0)