From 836ea0d8981c5eeed2fb6ff4db91912f85c21a51 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Tue, 31 Aug 2010 11:53:21 +0200 Subject: [PATCH] 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 317eeebabcf..eb2bcc314ed 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 a03fd46d473..3996c091796 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); -- 2.11.4.GIT