Skip to content

Commit e426c0c

Browse files
brooksprumonashif
authored andcommitted
tests: Remove erroneous # before extern "C"
A few test header files have C++ guards around them, but are incorrect. Those files had a leading `#` placed before `extern`, which is incorrect. This commit simply removes those leading `#` characters. Signed-off-by: Brooks Prumo <[email protected]>
1 parent c58ca61 commit e426c0c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tests/subsys/fs/fcb/src/fcb_test.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <errno.h>
1818

1919
#ifdef __cplusplus
20-
#extern "C" {
20+
extern "C" {
2121
#endif
2222

2323
#define TEST_FCB_FLASH_AREA_ID DT_FLASH_AREA_IMAGE_1_ID

tests/subsys/settings/fcb/src/settings_test.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <storage/flash_map.h>
1717

1818
#ifdef __cplusplus
19-
#extern "C" {
19+
extern "C" {
2020
#endif
2121

2222
#define SETTINGS_TEST_FCB_VAL_STR_CNT 64

tests/subsys/settings/fs/include/settings_test_fs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "settings/settings.h"
1616

1717
#ifdef __cplusplus
18-
#extern "C" {
18+
extern "C" {
1919
#endif
2020

2121
extern u8_t val8;

tests/subsys/settings/nvs/src/settings_test.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include "settings/settings.h"
1515

1616
#ifdef __cplusplus
17-
#extern "C" {
17+
extern "C" {
1818
#endif
1919

2020
#define SETTINGS_TEST_NVS_VAL_STR_CNT 64

0 commit comments

Comments
 (0)