Skip to content

Commit 028846f

Browse files
flichtenheldcron2
authored andcommitted
buffer: remove unused function buf_write_alloc_prepend
Change-Id: I71981e39932cafe3fd68b475fdb81a8f20a3a547 Signed-off-by: Frank Lichtenheld <[email protected]> Acked-by: Gert Doering <[email protected]> Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg32565.html Signed-off-by: Gert Doering <[email protected]>
1 parent 75f9bd3 commit 028846f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/openvpn/buffer.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -642,12 +642,6 @@ buf_write_alloc(struct buffer *buf, size_t size)
642642
return ret;
643643
}
644644

645-
static inline uint8_t *
646-
buf_write_alloc_prepend(struct buffer *buf, int size, bool prepend)
647-
{
648-
return prepend ? buf_prepend(buf, size) : buf_write_alloc(buf, size);
649-
}
650-
651645
static inline uint8_t *
652646
buf_read_alloc(struct buffer *buf, int size)
653647
{

0 commit comments

Comments
 (0)