Module: wine Branch: master Commit: 836ea0d8981c5eeed2fb6ff4db91912f85c21a51 URL: http://source.winehq.org/git/wine.git/?a=commit;h=836ea0d8981c5eeed2fb6ff4db...
Author: Francois Gouget fgouget@free.fr Date: Tue Aug 31 11:53:21 2010 +0200
hhctrl.ocx: Make strbuf_{append,chr}() static.
---
dlls/hhctrl.ocx/stream.c | 4 ++-- dlls/hhctrl.ocx/stream.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/dlls/hhctrl.ocx/stream.c b/dlls/hhctrl.ocx/stream.c index 317eeeb..eb2bcc3 100644 --- a/dlls/hhctrl.ocx/stream.c +++ b/dlls/hhctrl.ocx/stream.c @@ -40,7 +40,7 @@ void strbuf_free(strbuf_t *buf) heap_free(buf->buf); }
-void strbuf_append(strbuf_t *buf, const char *data, int len) +static void strbuf_append(strbuf_t *buf, const char *data, int len) { if(buf->len+len > buf->size) { buf->size = buf->len+len; @@ -57,7 +57,7 @@ void stream_init(stream_t *stream, IStream *str) stream->str = str; }
-BOOL stream_chr(stream_t *stream, strbuf_t *buf, char c) +static BOOL stream_chr(stream_t *stream, strbuf_t *buf, char c) { BOOL b = TRUE; ULONG i; diff --git a/dlls/hhctrl.ocx/stream.h b/dlls/hhctrl.ocx/stream.h index a03fd46..3996c09 100644 --- a/dlls/hhctrl.ocx/stream.h +++ b/dlls/hhctrl.ocx/stream.h @@ -37,9 +37,7 @@ typedef struct { void strbuf_init(strbuf_t *buf); void strbuf_zero(strbuf_t *buf); void strbuf_free(strbuf_t *buf); -void strbuf_append(strbuf_t *buf, const char *data, int len); void stream_init(stream_t *stream, IStream *str); -BOOL stream_chr(stream_t *stream, strbuf_t *buf, char c); void get_node_name(strbuf_t *node, strbuf_t *name); BOOL next_content(stream_t *stream, strbuf_t *buf); BOOL next_node(stream_t *stream, strbuf_t *buf);