From 63bc750fecb00fc5878ca889204fc65510893778 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 11 Jun 2023 23:27:16 +0200 Subject: libio: remove single line wrapper functions Signed-off-by: David Oberhollenzer --- lib/io/src/xfrm/ostream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/io/src/xfrm/ostream.c') diff --git a/lib/io/src/xfrm/ostream.c b/lib/io/src/xfrm/ostream.c index bd94515..79ed49a 100644 --- a/lib/io/src/xfrm/ostream.c +++ b/lib/io/src/xfrm/ostream.c @@ -42,7 +42,7 @@ static int flush_inbuf(ostream_xfrm_t *xfrm, bool finish) return -1; } - if (ostream_append(xfrm->wrapped, xfrm->outbuf, off_out)) + if (xfrm->wrapped->append(xfrm->wrapped, xfrm->outbuf, off_out)) return -1; off_out = 0; @@ -52,7 +52,7 @@ static int flush_inbuf(ostream_xfrm_t *xfrm, bool finish) } if (off_out > 0) { - if (ostream_append(xfrm->wrapped, xfrm->outbuf, off_out)) + if (xfrm->wrapped->append(xfrm->wrapped, xfrm->outbuf, off_out)) return -1; } -- cgit v1.2.3