]> granicus.if.org Git - php/commitdiff
Use {NULL, NULL, NULL} to terminate function entry.
authorYasuo Ohgaki <yohgaki@php.net>
Thu, 28 Feb 2002 12:10:36 +0000 (12:10 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Thu, 28 Feb 2002 12:10:36 +0000 (12:10 +0000)
# It does not fix any bugs, since {0} works also.

ext/mcrypt/mcrypt.c
ext/mhash/mhash.c
ext/sysvshm/sysvshm.c
sapi/aolserver/aolserver.c
sapi/apache2filter/php_functions.c

index bfdc2369b4b26947d48e0b7a86f32f4a6e745a8c..53006158d928d7218e4126cfc9ba5328fb7fded0 100644 (file)
@@ -84,7 +84,7 @@ function_entry mcrypt_functions[] = {
 
        PHP_FE(mcrypt_module_close, NULL)
 #endif
-       {0},
+       {NULL, NULL, NULL}
 };
 
 static PHP_MINFO_FUNCTION(mcrypt);
index cb6e885983a080526b7dbd7cf882dc319a1d3af0..e7ba9ed85b2b6fa7da1cf79f82de3db4adff6bb1 100644 (file)
 
 function_entry mhash_functions[] = {
        PHP_FE(mhash_get_block_size, NULL)
-           PHP_FE(mhash_get_hash_name, NULL)
-           PHP_FE(mhash_keygen_s2k, NULL)
-           PHP_FE(mhash_count, NULL)
-       PHP_FE(mhash, NULL) {0}
-       ,
+       PHP_FE(mhash_get_hash_name, NULL)
+       PHP_FE(mhash_keygen_s2k, NULL)
+       PHP_FE(mhash_count, NULL)
+       PHP_FE(mhash, NULL)
+       {NULL, NULL, NULL}
 };
 
 static PHP_MINIT_FUNCTION(mhash);
index f4bc876f67b3ac16261f4d5783070b15d736c30e..1d6b399298aef7dbe6cb3c73c327b23dd5ef9ca8 100644 (file)
@@ -47,7 +47,7 @@ function_entry sysvshm_functions[] = {
        PHP_FE(shm_put_var, NULL)
        PHP_FE(shm_get_var, NULL)
        PHP_FE(shm_remove_var, NULL)
-       {0}
+       {NULL, NULL, NULL}      
 };
 /* }}} */
 
index 5de174aeb3f26168be091734b44cd25cfea99584..3569b008410f90b8253801979c9d75f888567f9d 100644 (file)
@@ -242,7 +242,7 @@ PHP_FUNCTION(getallheaders);
 
 static function_entry aolserver_functions[] = {
        PHP_FE(getallheaders, NULL)
-       {0}
+       {NULL, NULL, NULL}
 };
 
 static zend_module_entry php_aolserver_module = {
index f465e036b646657964e1310db5f6ea82876d35a0..3a5131ecb905a31895d1b90a539d72a696f8cba4 100644 (file)
@@ -140,7 +140,7 @@ static function_entry apache_functions[] = {
        PHP_FE(apache_lookup_uri, NULL)
        PHP_FE(virtual, NULL)
        PHP_FE(getallheaders, NULL)
-       {0}
+       {NULL, NULL, NULL}
 };
 
 static zend_module_entry php_apache_module = {