diff options
author | Marcus Boerger <helly@php.net> | 2003-09-02 14:11:53 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-09-02 14:11:53 +0000 |
commit | 7148cb9e730e87e0b37eb9cdc82398aaa164003b (patch) | |
tree | 8582dc0d486223239b10b9cb9f5cd200aba9e405 /ext/reflection/php_reflection.c | |
parent | 9702c70a3501ad800d25bb73c62e1fb30b6d576f (diff) | |
download | php-git-7148cb9e730e87e0b37eb9cdc82398aaa164003b.tar.gz |
Make these static as noticed by Andrey
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index f7f5f08151..c028c4214c 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -69,7 +69,7 @@ typedef struct _string { 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 @@ void string_init(string *str) *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 @@ string *string_printf(string *str, const char *format, ...) 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) { |