cvs: ZendEngine2 / zend_reflection_api.c
| From: | Marcus Boerger | Date: | Tue, 02 Sep 2003 14:11:53 +0000 |
| Subject: | cvs: ZendEngine2 / zend_reflection_api.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1793@lists.php.net to get a copy of this message | ||
helly Tue Sep 2 10:11:53 2003 EDT
Modified files:
/ZendEngine2 zend_reflection_api.c
Log:
Make these static as noticed by Andrey
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.52 ZendEngine2/zend_reflection_api.c:1.53
--- ZendEngine2/zend_reflection_api.c:1.52 Tue Sep 2 09:12:47 2003
+++ ZendEngine2/zend_reflection_api.c Tue Sep 2 10:11:53 2003
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.c,v 1.52 2003/09/02 13:12:47 helly Exp $ */
+/* $Id: zend_reflection_api.c,v 1.53 2003/09/02 14:11:53 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_default_classes.h"
@@ -69,7 +69,7 @@
int alloced;
} string;
-void string_init(string *str)
+static void string_init(string *str)
{
str->string = (char *) emalloc(1024);
str->len = 1;
@@ -77,7 +77,7 @@
*str->string = '\0';
}
-string *string_printf(string *str, const char *format, ...)
+static string *string_printf(string *str, const char *format, ...)
{
int len;
va_list arg;
@@ -99,7 +99,7 @@
return str;
}
-string *string_write(string *str, char *buf, int len)
+static string *string_write(string *str, char *buf, int len)
{
register int nlen = (str->len + len + (1024 - 1)) & ~(1024 - 1);
if (str->alloced < nlen) {