From: Martin Kraemer Date: Thu, 28 Nov 2002 08:26:14 +0000 (+0000) Subject: Portability: The header contains the declaration; while the source ext/bcmath/libbcma... X-Git-Tag: RELEASE_1_0b3~268 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3845c3ae08193629ad6e149853ae93b8e2cb02b;p=php 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') --- diff --git a/ext/bcmath/libbcmath/src/private.h b/ext/bcmath/libbcmath/src/private.h index eaf4f444b2..4458346626 100644 --- a/ext/bcmath/libbcmath/src/private.h +++ b/ext/bcmath/libbcmath/src/private.h @@ -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);