diff options
author | Andi Gutmans <andi@php.net> | 2002-11-20 20:03:01 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2002-11-20 20:03:01 +0000 |
commit | b0528dbe5eb79d2aafad5b368fa5481fe2c3c0c1 (patch) | |
tree | c6c058036addc9a8d2aa5750fc86f3e45ca0b4ec /ext/bcmath/bcmath.c | |
parent | e6b7ab9db86710ca0c90d320bd43dcd4c2c06ed4 (diff) | |
download | php-git-b0528dbe5eb79d2aafad5b368fa5481fe2c3c0c1.tar.gz |
- Revert previous patch
Diffstat (limited to 'ext/bcmath/bcmath.c')
-rw-r--r-- | ext/bcmath/bcmath.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/bcmath/bcmath.c b/ext/bcmath/bcmath.c index 894cde7444..2d0e67c4ac 100644 --- a/ext/bcmath/bcmath.c +++ b/ext/bcmath/bcmath.c @@ -65,9 +65,9 @@ static long bc_precision; #endif /* Storage used for special numbers. */ -extern bc_num BCG(_zero_); -extern bc_num BCG(_one_); -extern bc_num BCG(_two_); +extern bc_num _zero_; +extern bc_num _one_; +extern bc_num _two_; /* Make a copy of a number! Just increments the reference count! */ @@ -81,15 +81,15 @@ bc_num copy_num (bc_num num) /* Initialize a number NUM by making it a copy of zero. */ void init_num (bc_num *num) { - *num = copy_num (BCG(_zero_)); + *num = copy_num (_zero_); } PHP_RSHUTDOWN_FUNCTION(bcmath) { - bc_free_num(&BCG(_zero_)); - bc_free_num(&BCG(_one_)); - bc_free_num(&BCG(_two_)); + bc_free_num(&_zero_); + bc_free_num(&_one_); + bc_free_num(&_two_); return SUCCESS; } |