summaryrefslogtreecommitdiff
path: root/ext/bcmath/libbcmath/src/init.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2002-11-20 20:03:01 +0000
committerAndi Gutmans <andi@php.net>2002-11-20 20:03:01 +0000
commitb0528dbe5eb79d2aafad5b368fa5481fe2c3c0c1 (patch)
treec6c058036addc9a8d2aa5750fc86f3e45ca0b4ec /ext/bcmath/libbcmath/src/init.c
parente6b7ab9db86710ca0c90d320bd43dcd4c2c06ed4 (diff)
downloadphp-git-b0528dbe5eb79d2aafad5b368fa5481fe2c3c0c1.tar.gz
- Revert previous patch
Diffstat (limited to 'ext/bcmath/libbcmath/src/init.c')
-rw-r--r--ext/bcmath/libbcmath/src/init.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/bcmath/libbcmath/src/init.c b/ext/bcmath/libbcmath/src/init.c
index a1546214ec..4ff00b1102 100644
--- a/ext/bcmath/libbcmath/src/init.c
+++ b/ext/bcmath/libbcmath/src/init.c
@@ -39,9 +39,9 @@
#include "private.h"
/* Storage used for special numbers. */
-bc_num BCG(_zero_);
-bc_num BCG(_one_);
-bc_num BCG(_two_);
+bc_num _zero_;
+bc_num _one_;
+bc_num _two_;
bc_num _bc_Free_list = NULL;
@@ -105,11 +105,11 @@ bc_free_num (num)
void
bc_init_numbers ()
{
- BCG(_zero_) = bc_new_num (1,0);
- BCG(_one_) = bc_new_num (1,0);
- BCG(_one_)->n_value[0] = 1;
- BCG(_two_) = bc_new_num (1,0);
- BCG(_two_)->n_value[0] = 2;
+ _zero_ = bc_new_num (1,0);
+ _one_ = bc_new_num (1,0);
+ _one_->n_value[0] = 1;
+ _two_ = bc_new_num (1,0);
+ _two_->n_value[0] = 2;
}
@@ -130,6 +130,6 @@ void
bc_init_num (num)
bc_num *num;
{
- *num = bc_copy_num (BCG(_zero_));
+ *num = bc_copy_num (_zero_);
}