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

Make function ‘check_domain’ static #177

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

glts
Copy link
Contributor

@glts glts commented Jun 2, 2021

While packaging OpenDMARC 1.4.1.1 for Debian we discovered that the function check_domain in libopendmarc/opendmarc_policy.c was added to the public ABI:

https://salsa.debian.org/kitterman/opendmarc/-/blob/1ec111cf4785bcbd786d2f1bb443ec0c5810a0d0/debian/libopendmarc2.symbols#L3

This looks like a mistake. The function is not in any header files, doesn’t conform to naming conventions for libopendmarc, isn’t documented, and is used only locally in libopendmarc/opendmarc_policy.c.

The proposed change makes the function static.

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