[php-src] PR #11742: Fix warning crc32.c on function declaration without a prototype.
| From: | youkidearitai | Date: | Tue, 18 Jul 2023 22:30:14 +0000 |
| Subject: | [php-src] PR #11742: Fix warning crc32.c on function declaration without a prototype. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23106@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11742
Author: youkidearitai
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