Re: com php-src: Enable format checking for strpprintf: main/spprintf.h

From: Date: Thu, 27 Aug 2015 04:06:20 +0000
Subject: Re: com php-src: Enable format checking for strpprintf: main/spprintf.h
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-88778@lists.php.net to get a copy of this message
There is an useless ';' at the end. On 27 August 2015 at 11:42, Xinchen Hui <laruence@php.net> wrote: > Commit: aa24209855367b3bbb1c00b2a89902f2fc8175b6 > Author: Xinchen Hui <laruence@php.net> Thu, 27 Aug 2015 > 11:42:50 +0800 > Parents: c359ca8c3dea661cc2faa95270f59469ee8ee9d0 > Branches: master > > Link: > > http://git.php.net/?p=php-src.git;a=commitdiff;h=aa24209855367b3bbb1c00b2a89902f2fc8175b6 > > Log: > Enable format checking for strpprintf > > Changed paths: > M main/spprintf.h > > > Diff: > diff --git a/main/spprintf.h b/main/spprintf.h > index d3c6804..a5b1089 100644 > --- a/main/spprintf.h > +++ b/main/spprintf.h > @@ -41,9 +41,9 @@ PHPAPI size_t spprintf( char **pbuf, size_t max_len, > const char *format, ...) PH > > PHPAPI size_t vspprintf(char **pbuf, size_t max_len, const char *format, > va_list ap) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); > > -PHPAPI zend_string *vstrpprintf(size_t max_len, const char *format, > va_list ap); > +PHPAPI zend_string *vstrpprintf(size_t max_len, const char *format, > va_list ap) PHP_ATTRIBUTE_FORMAT(printf, 2, 0);; > > -PHPAPI zend_string *strpprintf(size_t max_len, const char *format, ...); > +PHPAPI zend_string *strpprintf(size_t max_len, const char *format, ...) > PHP_ATTRIBUTE_FORMAT(printf, 2, 3); > END_EXTERN_C() > > #endif /* SNPRINTF_H */ > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Reeze Xia http://reeze.cn

« previous php.cvs (#88778) next »