mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 11:32:48 -05:00
marshal.[ch]: remove redundant declaration.
Spotted this in passing while I was adding new functions in the same area. That 'struct strbuf;' must have been there since before I introduced defs.h to predeclare all the structure tag names and their typedefs. But marshal.h includes defs.h itself, so it has no reason to worry about the possibility that the typedef 'strbuf' might not already exist.
This commit is contained in:
@ -79,7 +79,7 @@ void BinarySink_put_stringz(BinarySink *bs, const char *str)
|
||||
BinarySink_put_string(bs, str, strlen(str));
|
||||
}
|
||||
|
||||
void BinarySink_put_stringsb(BinarySink *bs, struct strbuf *buf)
|
||||
void BinarySink_put_stringsb(BinarySink *bs, strbuf *buf)
|
||||
{
|
||||
BinarySink_put_string(bs, buf->s, buf->len);
|
||||
strbuf_free(buf);
|
||||
|
Reference in New Issue
Block a user