Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
836ea0d8
Commit
836ea0d8
authored
Aug 31, 2010
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 31, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hhctrl.ocx: Make strbuf_{append,chr}() static.
parent
f8c55fdc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
stream.c
dlls/hhctrl.ocx/stream.c
+2
-2
stream.h
dlls/hhctrl.ocx/stream.h
+0
-2
No files found.
dlls/hhctrl.ocx/stream.c
View file @
836ea0d8
...
...
@@ -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
;
...
...
dlls/hhctrl.ocx/stream.h
View file @
836ea0d8
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment