Skip to content

Commit 3c71121

Browse files
committed
No extern "C"
1 parent 8ddc92d commit 3c71121

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/include/FlashString/Object.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@
7878
*/
7979
#define IMPORT_FSTR_OBJECT(name, ObjectType, file) \
8080
IMPORT_FSTR_DATA(FSTR_DATA_NAME(name), file) \
81-
extern "C" __attribute__((visibility("hidden"))) const ObjectType ASM_LABEL(FSTR_DATA_NAME(name)); \
81+
extern __attribute__((visibility("hidden"))) const ObjectType ASM_LABEL(FSTR_DATA_NAME(name)); \
8282
DEFINE_FSTR_OBJREF(name, FSTR_DATA_NAME(name))
8383

8484
/**
8585
* @brief Like IMPORT_FSTR_OBJECT except reference is declared static constexpr
8686
*/
8787
#define IMPORT_FSTR_OBJECT_LOCAL(name, ObjectType, file) \
8888
IMPORT_FSTR_DATA(FSTR_DATA_NAME(name), file) \
89-
extern "C" __attribute__((visibility("hidden"))) const ObjectType ASM_LABEL(FSTR_DATA_NAME(name)); \
89+
extern __attribute__((visibility("hidden"))) const ObjectType ASM_LABEL(FSTR_DATA_NAME(name)); \
9090
static constexpr DEFINE_FSTR_OBJREF(name, FSTR_DATA_NAME(name))
9191

9292
namespace FSTR

0 commit comments

Comments
 (0)