summaryrefslogtreecommitdiff
path: root/ext/aspell/aspell.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-08-02 19:17:14 +0000
committerZeev Suraski <zeev@php.net>1999-08-02 19:17:14 +0000
commit3cb1eb047187d53688545ae6f64d4df880298e72 (patch)
tree7fb20f178b9df5a33a83a2b7537f5614910697c0 /ext/aspell/aspell.c
parent07e0885519ccabbd9cebfce7223be657171a6629 (diff)
downloadphp-git-3cb1eb047187d53688545ae6f64d4df880298e72.tar.gz
Removed '3' from key functions in PHP (maintained compatibility through
php3_compat.h)
Diffstat (limited to 'ext/aspell/aspell.c')
-rw-r--r--ext/aspell/aspell.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/aspell/aspell.c b/ext/aspell/aspell.c
index 93a9642281..fcfb33cbce 100644
--- a/ext/aspell/aspell.c
+++ b/ext/aspell/aspell.c
@@ -115,7 +115,7 @@ PHP_FUNCTION(aspell_suggest)
sc= (aspell *) php3_list_find(scin->value.lval, &type);
if(!sc)
{
- php3_error(E_WARNING, "%d is not a ASPELL result index", scin->value.lval);
+ php_error(E_WARNING, "%d is not a ASPELL result index", scin->value.lval);
RETURN_FALSE;
}
@@ -149,7 +149,7 @@ PHP_FUNCTION(aspell_check)
sc= (aspell *) php3_list_find(scin->value.lval, &type);
if(!sc)
{
- php3_error(E_WARNING, "%d is not a ASPELL result index", scin->value.lval);
+ php_error(E_WARNING, "%d is not a ASPELL result index", scin->value.lval);
RETURN_FALSE;
}
if (aspell_check(sc, word->value.str.val))
@@ -181,7 +181,7 @@ PHP_FUNCTION(aspell_check_raw)
sc= (aspell *) php3_list_find(scin->value.lval, &type);
if(!sc)
{
- php3_error(E_WARNING, "%d is not a ASPELL result index", scin->value.lval);
+ php_error(E_WARNING, "%d is not a ASPELL result index", scin->value.lval);
RETURN_FALSE;
}
if (aspell_check_raw(sc, word->value.str.val))
@@ -197,7 +197,7 @@ PHP_FUNCTION(aspell_check_raw)
PHP_MINFO_FUNCTION(aspell)
{
- php3_printf("ASpell support enabled");
+ php_printf("ASpell support enabled");
}