MT#55283 update return type

Change-Id: Id536bea91bd34287c6c318c5edf00c4dcf017846
pull/1907/head
Richard Fuchs 11 months ago
parent 42c46f2d68
commit a66c9e6e13

@ -177,7 +177,7 @@ char *streambuf_getline(struct streambuf *b) {
return s;
}
unsigned int streambuf_bufsize(struct streambuf *b) {
size_t streambuf_bufsize(struct streambuf *b) {
return b->buf->len;
}

@ -41,7 +41,7 @@ void streambuf_destroy(struct streambuf *);
int streambuf_writeable(struct streambuf *);
int streambuf_readable(struct streambuf *);
char *streambuf_getline(struct streambuf *);
unsigned int streambuf_bufsize(struct streambuf *);
size_t streambuf_bufsize(struct streambuf *);
void streambuf_printf(struct streambuf *, const char *, ...) __attribute__ ((format (printf, 2, 3)));
void streambuf_vprintf(struct streambuf *, const char *, va_list);
void streambuf_write(struct streambuf *, const char *, unsigned int);

Loading…
Cancel
Save