Commit 836ea0d8 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

hhctrl.ocx: Make strbuf_{append,chr}() static.

parent f8c55fdc
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment