]> granicus.if.org Git - php/commitdiff
Portability: The header contains the declaration; while the source ext/bcmath/libbcma...
authorMartin Kraemer <martin@php.net>
Thu, 28 Nov 2002 08:26:14 +0000 (08:26 +0000)
committerMartin Kraemer <martin@php.net>
Thu, 28 Nov 2002 08:26:14 +0000 (08:26 +0000)
(otherwise some compilers complain about 'duplicate symbols')

ext/bcmath/libbcmath/src/private.h

index eaf4f444b2dccf5d7d05eb92cd5cf68a8e16d355..4458346626e9644858643fe74be3cc26dbcf46c1 100644 (file)
@@ -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);