summaryrefslogtreecommitdiff
path: root/ext/standard/crc32.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-02-21 15:33:58 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-02-25 10:21:31 +0100
commitbb6e2a1615a54bc2986c782a2541289fd33a1bbb (patch)
tree9d483556fb2f11759c33aea28fffc135344ce27a /ext/standard/crc32.c
parent7956866ff45bb8bf9cb01010e1f3013dd8a7621d (diff)
downloadphp-git-bb6e2a1615a54bc2986c782a2541289fd33a1bbb.tar.gz
Avoid used of "named fn" in ext/standard
Diffstat (limited to 'ext/standard/crc32.c')
-rw-r--r--ext/standard/crc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/crc32.c b/ext/standard/crc32.c
index 1393483278..a0e5d6d816 100644
--- a/ext/standard/crc32.c
+++ b/ext/standard/crc32.c
@@ -70,7 +70,7 @@ static uint32_t crc32_aarch64(uint32_t crc, char *p, size_t nr) {
/* {{{ proto string crc32(string str)
Calculate the crc32 polynomial of a string */
-PHP_NAMED_FUNCTION(php_if_crc32)
+PHP_FUNCTION(crc32)
{
char *p;
size_t nr;