Skip to content
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

internal: Rewrite byteswapping macros #375

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

cgwalters
Copy link
Contributor

The real motivation here is to rewrite the code in order to complete the relicensing, because the person who last touched this didn't respond.

And in general, using _Generic here cleans things up anyways.

@cgwalters cgwalters force-pushed the rewrite-lcfs-internal branch 3 times, most recently from 35463f6 to 0d69523 Compare October 1, 2024 19:16
@cgwalters
Copy link
Contributor Author

Hmm, CI failure here looks maybe like old gcc getting confused by _Generic? Let me see...

The real motivation here is to rewrite the code in order to
complete the relicensing, because the person who last touched
this didn't respond.

And I don't think we need these static assertions; let's
just audit the callers to be sure they're passing the right types.

Signed-off-by: Colin Walters <walters@verbum.org>
@cgwalters
Copy link
Contributor Author

I rewrote things to just drop the assertions, they aren't that valuable.

@alexlarsson alexlarsson merged commit 99deae3 into containers:main Oct 2, 2024
15 checks passed
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.

2 participants