Skip to content

c++: Add missing "inline" keywords#1069

Merged
pcercuei merged 1 commit intomainfrom
pcercuei/fix-cpp
Oct 10, 2023
Merged

c++: Add missing "inline" keywords#1069
pcercuei merged 1 commit intomainfrom
pcercuei/fix-cpp

Conversation

@pcercuei
Copy link
Copy Markdown
Contributor

The "inline" keywords must be present in function prototypes, otherwise these functions may end up defined multiple times in different source files, causing linking issues.

Fixes #1066.

The "inline" keywords must be present in function prototypes, otherwise
these functions may end up defined multiple times in different source
files, causing linking issues.

Fixes #1066.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
@pcercuei pcercuei merged commit 9dd294c into main Oct 10, 2023
@pcercuei pcercuei deleted the pcercuei/fix-cpp branch October 10, 2023 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

C++ linker multiple definition problem in 0.25

2 participants