10000 No extern static by sgued · Pull Request #3 · sgued/natpmp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

No extern static #3

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

No extern static #3

wants to merge 6 commits into from

Conversation

sgued
Copy link
Owner
@sgued sgued commented Apr 20, 2024

No description provided.

< 8000 /div>
@sgued sgued force-pushed the no-extern-static branch from 9caece1 to eb8d6ea Compare April 20, 2024 16:01
This instead uses the `libc` crate to get the constants

This adds 1 dependency but allows getting rid of almost all unsafe code.
The only remaining being the default gateway function, which I will tackle next
@sgued sgued force-pushed the no-extern-static branch from eb8d6ea to d457194 Compare April 20, 2024 16:04
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.

1 participant
0