hhctrl.ocx: Make strbuf_{append,chr}() static.
Francois Gouget
fgouget at free.fr
Tue Aug 31 04:53:21 CDT 2010
---
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);
--
1.7.1
More information about the wine-patches
mailing list