Skip to content

Remove redundant extern "C" from the definitions in printf.c #144

@eyalroz

Description

@eyalroz

When using the library in C++, only the printf.h definitions need to be surrounded by extern "C" (see also this SO question). Apparently, some compilers (e.g. clang on Mac) seem to have trouble with definitions surrounded by it. So - let's remove it.

Metadata

Metadata

Assignees

Labels

platform-incompatibilityThe library is making assumptions causing it to fail on platforms where they do not hold.task

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions