summaryrefslogtreecommitdiff
path: root/ext/standard/mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/mail.c')
-rw-r--r--ext/standard/mail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/mail.c b/ext/standard/mail.c
index a6e97161ed..3249cbf7ba 100644
--- a/ext/standard/mail.c
+++ b/ext/standard/mail.c
@@ -67,7 +67,7 @@ DLEXPORT php3_module_entry *get_module(void) { return &odbc_module_entry; }
/* {{{ proto int mail(string to, string subject, string message [, string additional_headers])
Send an email message */
-void php3_mail(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(mail)
{
pval *argv[4];
char *to=NULL, *message=NULL, *headers=NULL, *subject=NULL;
@@ -171,7 +171,7 @@ void php3_info_mail(ZEND_MODULE_INFO_FUNC_ARGS)
#else
-void php3_mail(INTERNAL_FUNCTION_PARAMETERS) {}
+PHP_FUNCTION(mail) {}
void php3_info_mail(ZEND_MODULE_INFO_FUNC_ARGS) {}
#endif