cvs: pecl /phar phar_internal.h

From: Date: Fri, 01 Feb 2008 22:23:36 +0000
Subject: cvs: pecl /phar phar_internal.h
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-9662@lists.php.net to get a copy of this message
cellog Fri Feb 1 22:23:36 2008 UTC Modified files: /pecl/phar phar_internal.h Log: move to in between BEGIN_EXTERN_C() block, to avoid breakage with C++ (i.e. windows) # david, can you check on mac to be sure this doesn't break? http://cvs.php.net/viewvc.cgi/pecl/phar/phar_internal.h?r1=1.74&r2=1.75&diff_format=u Index: pecl/phar/phar_internal.h diff -u pecl/phar/phar_internal.h:1.74 pecl/phar/phar_internal.h:1.75 --- pecl/phar/phar_internal.h:1.74 Fri Feb 1 22:13:13 2008 +++ pecl/phar/phar_internal.h Fri Feb 1 22:23:36 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: phar_internal.h,v 1.74 2008/02/01 22:13:13 davidc Exp $ */ +/* $Id: phar_internal.h,v 1.75 2008/02/01 22:23:36 cellog Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -168,9 +168,6 @@ ZEND_EXTERN_MODULE_GLOBALS(phar) -extern int phar_has_bz2; -extern int phar_has_zlib; - #ifdef ZTS # include "TSRM.h" # define PHAR_G(v) TSRMG(phar_globals_id, zend_phar_globals *, v) @@ -330,6 +327,10 @@ #endif BEGIN_EXTERN_C() + +int phar_has_bz2; +int phar_has_zlib; + #ifdef PHP_WIN32 char *tsrm_strtok_r(char *s, const char *delim, char **last);

« previous php.pecl.cvs (#9662) next »