Skip to content

Conversation

@FractalU
Copy link
Contributor

fixes #168

Declaring these three functions as static ensures that every function which is fully local to lfs.c and doesn't have a prototype in lfs.h is being declared as static. This way, it's sure that there aren't any compiler warnings about missing prototypes, even if the OS is Windows and the compiler is MSVC, gcc or clang.

@hishamhm
Copy link
Member

@FractalU I've added Windows runs to the CI, can you rebase this PR? Thank you!

@FractalU FractalU force-pushed the declare-win-funcs-as-static branch from cde08a1 to 4257f90 Compare October 28, 2024 20:16
@FractalU
Copy link
Contributor Author

@hishamhm Rebased this PR.

@hishamhm
Copy link
Member

LGTM! Thank you!

@hishamhm hishamhm merged commit 0951178 into lunarmodules:master Oct 28, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

missing prototypes warnings when building on windows using msys2

2 participants