helly Tue Nov 1 06:12:28 2005 EDT
Modified files:
/php-src/main snprintf.c
Log:
- WS: Make function detection work in my editor
http://cvs.php.net/diff.php/php-src/main/snprintf.c?r1=1.37&r2=1.38&ty=u
Index: php-src/main/snprintf.c
diff -u php-src/main/snprintf.c:1.37 php-src/main/snprintf.c:1.38
--- php-src/main/snprintf.c:1.37 Wed Aug 3 10:08:39 2005
+++ php-src/main/snprintf.c Tue Nov 1 06:12:27 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: snprintf.c,v 1.37 2005/08/03 14:08:39 sniper Exp $ */
+/* $Id: snprintf.c,v 1.38 2005/11/01 11:12:27 helly Exp $ */
/* ====================================================================
* Copyright (c) 1995-1998 The Apache Group. All rights reserved.
@@ -111,8 +111,7 @@
* which is a pointer to the END of the buffer + 1 (i.e. if the buffer
* is declared as buf[ 100 ], buf_end should be &buf[ 100 ])
*/
-char *
-ap_php_conv_10(register wide_int num, register bool_int is_unsigned,
+char * ap_php_conv_10(register wide_int num, register bool_int is_unsigned,
register bool_int * is_negative, char *buf_end, register int *len)
{
register char *p = buf_end;
@@ -167,8 +166,7 @@
* The sign is returned in the is_negative argument (and is not placed
* in buf).
*/
-char *
- ap_php_conv_fp(register char format, register double num,
+char * ap_php_conv_fp(register char format, register double num,
boolean_e add_dp, int precision, bool_int * is_negative, char
*buf, int *len)
{
register char *s = buf;
@@ -260,8 +258,7 @@
* which is a pointer to the END of the buffer + 1 (i.e. if the buffer
* is declared as buf[ 100 ], buf_end should be &buf[ 100 ])
*/
-char *
- ap_php_conv_p2(register u_wide_int num, register int nbits,
+char * ap_php_conv_p2(register u_wide_int num, register int nbits,
char format, char *buf_end, register int *len)
{
register int mask = (1 << nbits) - 1;
@@ -293,8 +290,7 @@
*/
-char *
-ap_php_cvt(double arg, int ndigits, int *decpt, int *sign, int eflag, char
*buf)
+char * ap_php_cvt(double arg, int ndigits, int *decpt, int *sign, int eflag,
char *buf)
{
register int r2;
int mvl;
@@ -382,14 +378,12 @@
return (buf);
}
-char *
-ap_php_ecvt(double arg, int ndigits, int *decpt, int *sign, char *buf)
+char * ap_php_ecvt(double arg, int ndigits, int *decpt, int *sign, char *buf)
{
return (ap_php_cvt(arg, ndigits, decpt, sign, 1, buf));
}
-char *
-ap_php_fcvt(double arg, int ndigits, int *decpt, int *sign, char *buf)
+char * ap_php_fcvt(double arg, int ndigits, int *decpt, int *sign, char *buf)
{
return (ap_php_cvt(arg, ndigits, decpt, sign, 0, buf));
}
@@ -399,8 +393,7 @@
* minimal length string
*/
-char *
-ap_php_gcvt(double number, int ndigit, char *buf, boolean_e altform)
+char * ap_php_gcvt(double number, int ndigit, char *buf, boolean_e altform)
{
int sign, decpt;
register char *p1, *p2;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php