cvs: php4 /ext/bcmath/libbcmath/src private.h
| From: | Martin Kraemer | Date: | Thu, 28 Nov 2002 08:26:15 +0000 |
| Subject: | cvs: php4 /ext/bcmath/libbcmath/src private.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-16726@lists.php.net to get a copy of this message | ||
martin Thu Nov 28 03:26:15 2002 EDT
Modified files:
/php4/ext/bcmath/libbcmath/src private.h
Log:
Portability: The header contains the declaration; while the source ext/bcmath/libbcmath/src/init.c
has the definition
(otherwise some compilers complain about 'duplicate symbols')
Index: php4/ext/bcmath/libbcmath/src/private.h
diff -u php4/ext/bcmath/libbcmath/src/private.h:1.1 php4/ext/bcmath/libbcmath/src/private.h:1.2
--- php4/ext/bcmath/libbcmath/src/private.h:1.1 Wed Nov 22 15:20:02 2000
+++ php4/ext/bcmath/libbcmath/src/private.h Thu Nov 28 03:26:14 2002
@@ -32,7 +32,7 @@
/* "Private" routines to bcmath. */
/* variables */
-bc_num _bc_Free_list;
+extern bc_num _bc_Free_list;
/* routines */
int _bc_do_compare (bc_num n1, bc_num n2, int use_sign, int ignore_last);