Skip to content

Commit 97f6b5c

Browse files
committed
pythongh-99086: Further -Wstrict-prototypes, -Wimplicit-function-declaration fixes
Followup to 12078e7. I ended up missing a few, apparently. Clang 16 makes -Wimplicit-function-declaration an error by default and warns on -Wstrict-prototypes. It's free to fix -Wstrict-prototypes while we're here and it futureproofs us, so throw that in. The only notable part of this which might not be super obvious is <stddef.h> for size_t. See: 12078e7 Signed-off-by: Sam James <[email protected]>
1 parent e02cc6d commit 97f6b5c

File tree

3 files changed

+57
-49
lines changed

3 files changed

+57
-49
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Fix ``-Wimplicit-int`` compiler warning in :program:`configure` check for ``PTHREAD_SCOPE_SYSTEM``.
1+
Fix ``-Wimplicit-int``, ``-Wstrict-prototypes`, and `-Wimplicit-function-declaration` compiler warnings in :program:`configure` checks.

configure

Lines changed: 28 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)