Skip to content

Fix warning crc32.c on function declaration without a prototype. #11742

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

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

youkidearitai
Copy link
Contributor

I found warning when compiling C language (make).
This PR is fix them.

/Users/tekimen/src/youkidearitai-php-src/ext/standard/crc32.c:42:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
static inline int has_crc32_insn() {
                                ^
                                 void

My environment:

  • macOS 13.4.1
  • clang 16.0.5

@youkidearitai youkidearitai requested a review from bukka as a code owner July 18, 2023 22:16
@iluuu1994 iluuu1994 merged commit 451cbbb into php:master Jul 19, 2023
@iluuu1994
Copy link
Member

Thanks @youkidearitai!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants