cvs: php4(PHP_4_0_6) /main php_logos.c php_logos.h
| From: | Andi Gutmans | Date: | Mon, 21 May 2001 17:49:34 +0000 |
| Subject: | cvs: php4(PHP_4_0_6) /main php_logos.c php_logos.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5902@lists.php.net to get a copy of this message | ||
andi Mon May 21 10:49:34 2001 EDT
Modified files: (Branch: PHP_4_0_6)
/php4/main php_logos.c php_logos.h
Log:
- MFH so that no one starts using the wrongly called function name,
Index: php4/main/php_logos.c
diff -u php4/main/php_logos.c:1.5 php4/main/php_logos.c:1.5.4.1
--- php4/main/php_logos.c:1.5 Sun Feb 25 22:07:31 2001
+++ php4/main/php_logos.c Mon May 21 10:49:33 2001
@@ -43,7 +43,7 @@
return zend_hash_add(&phpinfo_logo_hash, logo_string, strlen(logo_string), &info_logo,
sizeof(php_info_logo), NULL);
}
-PHPAPI int php_unregister_info_logos(char *logo_string)
+PHPAPI int php_unregister_info_logo(char *logo_string)
{
return zend_hash_del(&phpinfo_logo_hash, logo_string, strlen(logo_string));
}
Index: php4/main/php_logos.h
diff -u php4/main/php_logos.h:1.2 php4/main/php_logos.h:1.2.6.1
--- php4/main/php_logos.h:1.2 Thu Nov 2 07:47:02 2000
+++ php4/main/php_logos.h Mon May 21 10:49:33 2001
@@ -2,7 +2,7 @@
#define _PHP_LOGOS_H
PHPAPI int php_register_info_logo(char *logo_string, char *mimetype, unsigned char *data, int
size);
-PHPAPI int php_unregister_info_logos(char *logo_string);
+PHPAPI int php_unregister_info_logo(char *logo_string);
int php_init_info_logos(void);
int php_shutdown_info_logos(void);
int php_info_logos(const char *logo_string);