Re: cvs: php4 /ext/bcmath/libbcmath/src private.h
| From: | Jani Taskinen | Date: | Fri, 29 Nov 2002 06:33:50 +0000 |
| Subject: | Re: cvs: php4 /ext/bcmath/libbcmath/src private.h | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-16737@lists.php.net to get a copy of this message | ||
MFH?
On Thu, 28 Nov 2002, Martin Kraemer wrote:
>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);
>
>
>
>
--
<- For Sale! ->