From: Antony Dovgal Date: Fri, 3 Aug 2007 09:51:12 +0000 (+0000) Subject: fix folding X-Git-Tag: php-5.2.4RC2~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a43566b19f0d274da73ed3646ce8587e0d3a26a;p=php fix folding --- diff --git a/main/spprintf.c b/main/spprintf.c index 2bc3cb96fd..23d695d0dc 100644 --- a/main/spprintf.c +++ b/main/spprintf.c @@ -112,6 +112,8 @@ #include "ext/standard/php_smart_str.h" +/* {{{ macros */ + /* * NUM_BUF_SIZE is the size of the buffer used for arithmetic conversions * @@ -176,12 +178,12 @@ } \ } while (0) - +/* }}} */ /* * Do format conversion placing the output in buffer */ -static void xbuf_format_converter(smart_str *xbuf, const char *fmt, va_list ap) +static void xbuf_format_converter(smart_str *xbuf, const char *fmt, va_list ap) /* {{{ */ { register char *s = NULL; char *q; @@ -745,12 +747,12 @@ skip_output: } return; } - +/* }}} */ /* * This is the general purpose conversion function. */ -PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) +PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) /* {{{ */ { smart_str xbuf = {0}; @@ -765,9 +767,9 @@ PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap return xbuf.len; } +/* }}} */ - -PHPAPI int spprintf(char **pbuf, size_t max_len, const char *format, ...) +PHPAPI int spprintf(char **pbuf, size_t max_len, const char *format, ...) /* {{{ */ { int cc; va_list ap; @@ -777,6 +779,8 @@ PHPAPI int spprintf(char **pbuf, size_t max_len, const char *format, ...) va_end(ap); return (cc); } +/* }}} */ + /* * Local variables: * tab-width: 4