Skip to content

lib: replace inline redefine with CURL_INLINE macro #15523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Nov 8, 2024

Instead of redefining the inline keyword, introduce curl's own
CURL_INLINE macro and set it depending on the compiler's capabilities,
or use its value set via custom C flags.

Also keep honoring a custom inline macro, if set.


w/o whitespace: https://github.com/curl/curl/pull/15523/files?w=1

@vszakats vszakats marked this pull request as draft November 8, 2024 14:57
@vszakats vszakats marked this pull request as ready for review November 8, 2024 23:36
@vszakats vszakats changed the title lib: replace redefining inline with CURL_INLINE macro lib: replace inline redefine with CURL_INLINE macro Nov 9, 2024

Verified

This commit was signed with the committer’s verified signature.
vszakats Viktor Szakats
Closes curl#15523

Verified

This commit was signed with the committer’s verified signature.
vszakats Viktor Szakats
@vszakats vszakats closed this in ae3ca13 Dec 16, 2024
@vszakats vszakats deleted the inline branch December 16, 2024 18:27
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Instead of redefining the `inline` keyword, introduce curl's own
`CURL_INLINE` macro and set it depending on the compiler's capabilities,
or use its value set via custom C flags.

Also keep honoring a custom `inline` macro, if set.

Closes curl#15523
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

1 participant